diff 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
line wrap: on
line diff
--- a/src/proxy.c	Thu Jan 04 22:20:58 2001 +0000
+++ b/src/proxy.c	Thu Jan 04 22:28:45 2001 +0000
@@ -145,8 +145,8 @@
 	if (proxy_recv_line(fd, &inputline) < 0)
 		return -1;
 
-	if ((memcmp(HTTP_GOODSTRING, inputline, strlen(HTTP_GOODSTRING) == 0) ||
-	     (memcmp(HTTP_GOODSTRING2, inputline, strlen(HTTP_GOODSTRING2) == 0)))) {
+	if ((memcmp(HTTP_GOODSTRING, inputline, strlen(HTTP_GOODSTRING)) == 0) ||
+	     (memcmp(HTTP_GOODSTRING2, inputline, strlen(HTTP_GOODSTRING2)) == 0)) {
 		while (strlen(inputline) > 1) {
 			free(inputline);
 			if (proxy_recv_line(fd, &inputline) < 0)