diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-05-07 22:45:46 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-05-07 22:45:46 +0100 |
commit | 67664bcf54a128bd9cfb76f4fc047131e740cbc2 (patch) | |
tree | e0daff7a647cd975ad90b1a800e9cc0c59d1221c | |
parent | 8622152983f24677316c5b817db12414c6e7c058 (diff) | |
download | agni-67664bcf54a128bd9cfb76f4fc047131e740cbc2.tar.gz agni-67664bcf54a128bd9cfb76f4fc047131e740cbc2.zip |
Commented out debug messages
-rw-r--r-- | sock_conn.c | 12 |
1 files 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 ((j<ib->max_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; } |