changeset 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 07097db15338
children e6671b80a1f2
files src/conversation.c src/proxy.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Apr 12 23:03:07 2001 +0000
+++ b/src/conversation.c	Thu Apr 12 23:08:37 2001 +0000
@@ -1676,7 +1676,6 @@
 					     NULL, _("Sound"), _("Enable sounds"),
 					     _("Sound"), speaker_p, GTK_SIGNAL_FUNC(set_option),
 					     &c->makesound);
-	c->makesound = 0;
 	gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(speaker), TRUE);
 
 	/* use a slicker look if the user wants to */
--- 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;