From: Vsevolod Stakhov Date: Fri, 2 Jul 2021 17:45:41 +0000 (+0100) Subject: [Minor] Fix weird logic X-Git-Tag: 3.0~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd0df711545560749d4d05b4d8e0e878090113d;p=thirdparty%2Frspamd.git [Minor] Fix weird logic --- diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index 8543860209..e1550f411d 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -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;