From: Vsevolod Stakhov Date: Wed, 16 Dec 2015 00:59:07 +0000 (+0000) Subject: Do not treat 'not found' as error in fuzzy X-Git-Tag: 1.1.0~280 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77f3c9257ea2e61676675fed7500cd86dea68f7d;p=rspamd.git Do not treat 'not found' as error in fuzzy --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index cdc4ef508..f5084c25a 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1151,13 +1151,14 @@ fuzzy_check_io_callback (gint fd, short what, void *arg) symbol, rep->flag); } - else { + else if (rep->value != 0) { msg_info_task ( "fuzzy check error for %s(%d): unknown error (%d)", symbol, rep->flag, rep->value); } + /* Not found */ ret = return_finished; }