changeset 151 | b0b01420b99d |
parent 102 | af4190b743a5 |
child 155 | c59d3eaff0fb |
--- a/src/irc_queue.c Thu Apr 23 21:05:52 2009 +0300 +++ b/src/irc_queue.c Thu Apr 23 21:14:19 2009 +0300 @@ -17,8 +17,9 @@ time_t now = time(NULL); err_t err; int ret; - - log_debug("%s", line_buf); + + // dump for debug output, without any newline + log_debug("%.*s", (int) (strstr(line_buf, "\r\n") - line_buf), line_buf); // XXX: output buffering? if ((ret = line_proto_send(queue->lp, line_buf)) < 0)