aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-19 20:09:18 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-19 20:09:18 +0400
commit2ee290157978cf154cbd1b060c4367b4da3e6fec (patch)
tree3bbdd90a56908db47df9597e2e51380aff3d3cf5 /src
parent4335e5a8ce4e23abd9c2977df7f1b13665b80202 (diff)
downloadrspamd-2ee290157978cf154cbd1b060c4367b4da3e6fec.tar.gz
rspamd-2ee290157978cf154cbd1b060c4367b4da3e6fec.zip
Do not try to use information about dispatcher after callback fails (found by valgrind).
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index bfe4efba3..8048dc13b 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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;