removed debug output
authorpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 01:03:34 +0000 (03:03 +0200)
committerpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 01:03:34 +0000 (03:03 +0200)
ClientSocket.c
IRCParser.c

index f90403a026ed2d9401ec059d4dcd26fa6fa271c7..20ec7246a92af4bf506fc6fa59db7bcf986f2946 100644 (file)
@@ -147,13 +147,9 @@ void socket_loop(int timeout_seconds) {
                         sock->buffer[sock->bufferpos + i] = buffer[i];
                     }
                     sock->bufferpos += i;
-                    sock->buffer[sock->bufferpos] = 0; //debug only
-                    printf("ADD BUFFER: %s\n", sock->buffer);
                 }
             } else {
                 bytes = read(sock->sock, sock->buffer, sizeof(sock->buffer));
-                sock->buffer[bytes] = 0; //debug only
-                printf("BUFFER: %s\n", sock->buffer);
                 if(bytes > 0)
                     sock->bufferpos = bytes;
             }
index 5822b010a6eedde90fce47bf8094298cf8aec160..2fcf934c62017f367abd3b401635fd759d1956d5 100644 (file)
@@ -19,7 +19,6 @@ int parse_lines(struct ClientSocket *client, char *lines, int len) {
             lines[i] = 0;
             parse_line(client, line);
             line = lines+(i+1);
-            printf("SKIP %d: %s\n", i+1, line);
             used = i+1;
         }
     }