diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 12:20:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 12:20:26 +0000 |
commit | e2c1dc95b2e24fdd96553a6f40bfa1f477ea834b (patch) | |
tree | b420afbe4fb35242a42625230863261e3cbe30fd /src/libmime/scan_result.c | |
parent | e7059c97ee940941455a1d0b8fe0adb292ce8d7c (diff) | |
download | rspamd-e2c1dc95b2e24fdd96553a6f40bfa1f477ea834b.tar.gz rspamd-e2c1dc95b2e24fdd96553a6f40bfa1f477ea834b.zip |
[Minor] Grrr, fix operator
Diffstat (limited to 'src/libmime/scan_result.c')
-rw-r--r-- | src/libmime/scan_result.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/scan_result.c b/src/libmime/scan_result.c index 23964c88e..c7c2647d2 100644 --- a/src/libmime/scan_result.c +++ b/src/libmime/scan_result.c @@ -529,7 +529,7 @@ rspamd_task_add_result_option (struct rspamd_task *task, vlen = strlen (val); - if (rspamd_fast_utf8_validate (val, vlen) == 0) { + if (rspamd_fast_utf8_validate (val, vlen) != 0) { opt_cpy = rspamd_str_make_utf_valid (val, vlen, &vlen, task->task_pool); val = opt_cpy; |