fix
This commit is contained in:
parent
9ae0b0ef5b
commit
04df5de9a1
@ -10,10 +10,10 @@ namespace nntpchan {
|
||||
while(l-- > 0) {
|
||||
char c = d[idx++];
|
||||
if(c == '\n') {
|
||||
OnLine(d, idx-2);
|
||||
OnLine(d, idx-1);
|
||||
d += idx;
|
||||
} else if (c == '\r' && d[idx] == '\n') {
|
||||
OnLine(d, idx-2);
|
||||
OnLine(d, idx-1);
|
||||
d += idx + 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user