projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tried to fix parse_lines
[NeonServV5.git]
/
IRCParser.c
diff --git
a/IRCParser.c
b/IRCParser.c
index bfc722b0335dbde910d6bef346a124988fef5286..187aeb6475263af61b46dd3110ab570a99cf17b3 100644
(file)
--- a/
IRCParser.c
+++ b/
IRCParser.c
@@
-16,8
+16,8
@@
int parse_lines(struct ClientSocket *client, char *lines, int len) {
if(lines[i] == '\n') {
lines[i] = 0;
parse_line(client, lines);
- startpos = i+1;
lines += i-startpos;
+ startpos = i+1;
}
}
return startpos;