fixed debug output :D
authorpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 00:50:34 +0000 (02:50 +0200)
committerpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 00:50:34 +0000 (02:50 +0200)
IRCParser.c

index 0bbe7975b13536b1645cd9843e487389ea94534f..27bcaf6b0115027ffd60b563c8196889bfe77172 100644 (file)
@@ -18,7 +18,7 @@ int parse_lines(struct ClientSocket *client, char *lines, int len) {
             lines[i] = 0;
             parse_line(client, lines);
             lines += strlen(lines)+1;
-            printf("SKIP %d: %s\n", strlen(lines)+1, lines);
+            printf("SKIP %lu: %s\n", (unsigned long) strlen(lines)+1, lines);
             startpos = i+1;
         }
     }