Mercurial > pidgin.yaz
comparison src/proxy.c @ 1372:153eb28ea454
[gaim-migrate @ 1382]
erg. how did this happen?
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 04 Jan 2001 22:28:45 +0000 |
parents | 46c09828e929 |
children | f6cc5cb7faf6 |
comparison
equal
deleted
inserted
replaced
1371:1136f7896eeb | 1372:153eb28ea454 |
---|---|
143 if (send(fd, cmd, strlen(cmd), 0) < 0) | 143 if (send(fd, cmd, strlen(cmd), 0) < 0) |
144 return -1; | 144 return -1; |
145 if (proxy_recv_line(fd, &inputline) < 0) | 145 if (proxy_recv_line(fd, &inputline) < 0) |
146 return -1; | 146 return -1; |
147 | 147 |
148 if ((memcmp(HTTP_GOODSTRING, inputline, strlen(HTTP_GOODSTRING) == 0) || | 148 if ((memcmp(HTTP_GOODSTRING, inputline, strlen(HTTP_GOODSTRING)) == 0) || |
149 (memcmp(HTTP_GOODSTRING2, inputline, strlen(HTTP_GOODSTRING2) == 0)))) { | 149 (memcmp(HTTP_GOODSTRING2, inputline, strlen(HTTP_GOODSTRING2)) == 0)) { |
150 while (strlen(inputline) > 1) { | 150 while (strlen(inputline) > 1) { |
151 free(inputline); | 151 free(inputline); |
152 if (proxy_recv_line(fd, &inputline) < 0) | 152 if (proxy_recv_line(fd, &inputline) < 0) |
153 return -1; | 153 return -1; |
154 } | 154 } |