From 67664bcf54a128bd9cfb76f4fc047131e740cbc2 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 7 May 2017 22:45:46 +0100 Subject: Commented out debug messages --- sock_conn.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sock_conn.c b/sock_conn.c index 42cb3a6..bc7dfff 100644 --- a/sock_conn.c +++ b/sock_conn.c @@ -92,7 +92,7 @@ int __irc_buf_drain_io(irc_buf *ib) //lets from in buffer put as much as possible to out buffer i = ib->in_size-1; j = ib->out_size; - PRINT("in_size=%d out_size=%d\n",ib->in_size, ib->out_size); + //PRINT("in_size=%d out_size=%d\n",ib->in_size, ib->out_size); cnt = 0; while ((jmax_out_size)&&(i>=0)) //buffers ar full or empty { @@ -101,7 +101,7 @@ int __irc_buf_drain_io(irc_buf *ib) { if (((ib->buf_out[j-3]=='\r')&&(ib->buf_out[j-2]=='\n')))//bufferunderflow { - PRINT("READY\n"); + //PRINT("READY\n"); ib->ready = 1; //PNL(); break; @@ -113,20 +113,20 @@ int __irc_buf_drain_io(irc_buf *ib) cnt++; } //update - PRINT("Copied %d bytes\n", cnt); + //PRINT("Copied %d bytes\n", cnt); ib->in_size = i+1; //i can end up as -1 ib->out_size = j; // - PRINT("in_size=%d out_size=%d\n",ib->in_size, ib->out_size); + //PRINT("in_size=%d out_size=%d\n",ib->in_size, ib->out_size); //if out buffer full and its doesnt have proper ending if (ib->out_size >= 2) if ((ib->buf_out[ib->out_size-1]=='\n')&&(ib->buf_out[ib->out_size-2]=='\r')) { - PRINT("READY\n"); + //PRINT("READY\n"); ib->ready = 1; return cnt; } - PRINT("%d\n",cnt); + //PRINT("%d\n",cnt); return cnt; } -- cgit v1.2.3