diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-02 18:45:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-02 18:45:41 +0100 |
commit | bdd0df711545560749d4d05b4d8e0e878090113d (patch) | |
tree | 4005ba71f16ff48bf680cbb71bb6eee72473da81 | |
parent | 1ec96d04a93c8746cb3c7b543c27d2127999f443 (diff) | |
download | rspamd-bdd0df711545560749d4d05b4d8e0e878090113d.tar.gz rspamd-bdd0df711545560749d4d05b4d8e0e878090113d.zip |
[Minor] Fix weird logic
-rw-r--r-- | src/libserver/html/html.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index 854386020..e1550f411 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; |