]> source.dussan.org Git - rspamd.git/commitdiff
Do not try to use information about dispatcher after callback fails (found by valgrind).
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 19 Jul 2011 16:09:18 +0000 (20:09 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 19 Jul 2011 16:09:18 +0000 (20:09 +0400)
src/buffer.c

index bfe4efba3cbb3321430617fe40c0851134a9e0b0..8048dc13bddc89babc19900a143dd1f9392b23f9 100644 (file)
@@ -465,7 +465,6 @@ dispatcher_cb (gint fd, short what, void *arg)
                                event_add (d->ev, d->tv);
                                if (d->is_restored && d->write_callback) {
                                        if (!d->write_callback (d->user_data)) {
-                                               debug_ip ("callback set wanna_die flag, terminating");
                                                return;
                                        }
                                        d->is_restored = FALSE;