]> source.dussan.org Git - rspamd.git/commitdiff
Do not treat 'not found' as error in fuzzy
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 Dec 2015 00:59:07 +0000 (00:59 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 Dec 2015 00:59:07 +0000 (00:59 +0000)
src/plugins/fuzzy_check.c

index cdc4ef508e77bb0a7526634f53010b9ea1a90cc6..f5084c25a5e6f6823792294181aa80de34fc3fb9 100644 (file)
@@ -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;
                        }