diff src/proxy.c @ 1705:b4d454e5ee31

[gaim-migrate @ 1715] possible fixes? committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 12 Apr 2001 23:08:37 +0000
parents c0ab844d4790
children 00aef397a1fe
line wrap: on
line diff
--- a/src/proxy.c	Thu Apr 12 23:03:07 2001 +0000
+++ b/src/proxy.c	Thu Apr 12 23:08:37 2001 +0000
@@ -96,7 +96,7 @@
 		return -1;
 	}
 
-	snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\n\r\n\r", host, port);
+	snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\r\n\r\n", host, port);
 
 	if (send(fd, cmd, strlen(cmd), 0) < 0) {
 		close(fd);
@@ -109,6 +109,8 @@
 			nlc = 0;
 	}
 
+	debug_printf("Proxy says: %s\n", inputline);
+
 	if ((memcmp(HTTP_GOODSTRING, inputline, strlen(HTTP_GOODSTRING)) == 0) ||
 	     (memcmp(HTTP_GOODSTRING2, inputline, strlen(HTTP_GOODSTRING2)) == 0)) {
 		return fd;