Skip to content

Commit

Permalink
[Minor] Fix weird logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jul 2, 2021
1 parent 1ec96d0 commit bdd0df7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libserver/html/html.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1596,8 +1596,9 @@ html_process_input(rspamd_mempool_t *pool,
msg_info_pool ("cannot parse css: %*s",
(int)err_str.size(), err_str.data());
}

hc->css_style = ret_maybe.value();
else {
hc->css_style = ret_maybe.value();
}
}

p += end_style;
Expand Down

0 comments on commit bdd0df7

Please sign in to comment.