From 643576fcff380140d714e6f9711c402246f16a28 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 1 Aug 2011 15:32:45 +0400 Subject: Fix controller stages and debug info. Handle timeouts in librspamdclient correctly. --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 4f9ef304e..bf357d949 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -314,8 +314,8 @@ read_buffers (gint fd, rspamd_io_dispatcher_t * d, gboolean skip_read) d->in_buf->pos += r; d->in_buf->data->len += r; } - debug_ip("read %z characters, policy is %s, watermark is: %z", r, - d->policy == BUFFER_LINE ? "LINE" : "CHARACTER", d->nchars); + debug_ip("read %z characters, policy is %s, watermark is: %z, buffer has %z bytes", r, + d->policy == BUFFER_LINE ? "LINE" : "CHARACTER", d->nchars, d->in_buf->data->len); } saved_policy = d->policy; -- cgit v1.2.3