projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e14210
)
tried to fix parse_lines
author
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 00:42:26 +0000
(
02:42
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 00:42:26 +0000
(
02:42
+0200)
IRCParser.c
patch
|
blob
|
history
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);
if(lines[i] == '\n') {
lines[i] = 0;
parse_line(client, lines);
- startpos = i+1;
lines += i-startpos;
lines += i-startpos;
+ startpos = i+1;
}
}
return startpos;
}
}
return startpos;