]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
* No IO allowed in events destructors
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 23 Sep 2009 12:51:11 +0000 (16:51 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Wed, 23 Sep 2009 12:51:11 +0000 (16:51 +0400)
src/plugins/fuzzy_check.c

index ef8664ff2b1d54acf0584e15fba58e3f69d6068b..258a415057bd863a75440f94c8492eeacd493fa7 100644 (file)
@@ -282,7 +282,6 @@ fuzzy_learn_fin (void *arg)
        (*session->saved) --;
        if (*session->saved == 0) {
                session->session->state = STATE_REPLY;
-               rspamd_dispatcher_write (session->session->dispatcher, "OK" CRLF, sizeof ("OK" CRLF) - 1, FALSE, FALSE);
        }
 }