diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-21 20:16:17 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-21 20:16:17 +0400 |
commit | c93cca709b13da41b8d5bcd08874d75669e125f0 (patch) | |
tree | c830deb653a150021f3633217f9abeba4a155525 | |
parent | cab3370bf1ba1ba765327cc69b86740213e8798a (diff) | |
download | rspamd-c93cca709b13da41b8d5bcd08874d75669e125f0.tar.gz rspamd-c93cca709b13da41b8d5bcd08874d75669e125f0.zip |
Forgot event_del.
-rw-r--r-- | src/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 3fbcb7500..5c7cae197 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -695,6 +695,7 @@ rspamd_dispatcher_write (rspamd_io_dispatcher_t * d, void *data, size_t len, gbo return write_buffers (d->fd, d, FALSE); } /* Otherwise plan write event */ + event_del (d->ev); event_set (d->ev, d->fd, EV_WRITE, dispatcher_cb, (void *)d); event_base_set (d->ev_base, d->ev); event_add (d->ev, d->tv); |