]> source.dussan.org Git - rspamd.git/commitdiff
Fix passing wrong argument to write callback.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 4 Feb 2011 17:16:45 +0000 (20:16 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 4 Feb 2011 17:16:45 +0000 (20:16 +0300)
src/plugins/fuzzy_check.c

index f81d549a7df97102d8f3fd1215738ee25e31aeb3..a8090be887fa2cf043f23e3a66ba11376c7f6230 100644 (file)
@@ -533,7 +533,7 @@ fuzzy_learn_fin (void *arg)
        (*session->saved)--;
        if (*session->saved == 0) {
                session->session->state = STATE_REPLY;
-               session->session->dispatcher->write_callback (session);
+               session->session->dispatcher->write_callback (session->session);
        }
 }