aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-08-01 15:32:45 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-08-01 15:32:45 +0400
commit643576fcff380140d714e6f9711c402246f16a28 (patch)
treeafff9f26fa71cc67c5163009c6fbbf3abf822493 /src/buffer.c
parent0c6e9d1f0bc8e010d30c27af1635513adfa9a6dd (diff)
downloadrspamd-643576fcff380140d714e6f9711c402246f16a28.tar.gz
rspamd-643576fcff380140d714e6f9711c402246f16a28.zip
Fix controller stages and debug info.
Handle timeouts in librspamdclient correctly.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
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;