fixed last commit
authorpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 01:00:00 +0000 (03:00 +0200)
committerpk910 <philipp@zoelle1.de>
Wed, 10 Aug 2011 01:00:00 +0000 (03:00 +0200)
IRCParser.c

index 670d2875f2a731e3e1efb8fadc04ea75e8763af1..0d9e7cc4972f10dec3f296ba0c24bff59abea0be 100644 (file)
@@ -23,7 +23,7 @@ int parse_lines(struct ClientSocket *client, char *lines, int len) {
             used = i+1;
         }
     }
-    return startpos;
+    return used;
 }
 
 static void parse_line(struct ClientSocket *client, char *line) {