diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-01-22 18:42:50 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-01-22 18:42:50 +0300 |
commit | f411d46ff24dc2bcc18fd2ea29f1f16612fc676d (patch) | |
tree | fed84311c81dce0ea529d62e49c99979866f412e /src/protocol.c | |
parent | 480899d784fc491a81a88a7bd95e210d9121d69b (diff) | |
download | rspamd-f411d46ff24dc2bcc18fd2ea29f1f16612fc676d.tar.gz rspamd-f411d46ff24dc2bcc18fd2ea29f1f16612fc676d.zip |
* Rework statfiles result processing
* Fix small bug in protocol implementation (\r -> \r\n)
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c index 0fb7764c0..3cdc28ef5 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -401,7 +401,8 @@ show_metric_symbols (gpointer metric_name, gpointer metric_value, void *user_dat cur = g_list_next (cur); } g_list_free (symbols); - outbuf[r++] = '\r'; outbuf[r] = '\n'; + msg_debug ("show_metric_symbols: write symbols line: %s", outbuf); + outbuf[r++] = '\r'; outbuf[r++] = '\n'; bufferevent_write (task->bev, outbuf, r); } |