blob: bbf4a19b3124fe28a5c1f79c33bf983f6852e442 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
*** src/proxy.c.orig Thu Jan 22 08:27:26 2004
--- src/proxy.c Thu Jan 22 08:28:05 2004
***************
*** 974,980 ****
gaim_input_remove(phb->inpa);
! while ((nlc != 2) && (read(source, &inputline[pos++], 1) == 1)) {
if (inputline[pos - 1] == '\n')
nlc++;
else if (inputline[pos - 1] != '\r')
--- 974,980 ----
gaim_input_remove(phb->inpa);
! while ((pos < sizeof(inputline)-1) && (nlc != 2) && (read(source, &inputline[pos++], 1) == 1)) {
if (inputline[pos - 1] == '\n')
nlc++;
else if (inputline[pos - 1] != '\r')
|