changeset 1412:47413c49bbee

[gaim-migrate @ 1422] hi there oh yeah, scrutty fixed a socks problem committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 18 Jan 2001 19:54:13 +0000
parents a3e472534370
children 42955549cdd9
files src/toc.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Tue Jan 16 02:20:08 2001 +0000
+++ b/src/toc.c	Thu Jan 18 19:54:13 2001 +0000
@@ -46,7 +46,7 @@
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
 
-#define REVISION "gaim:$Revision: 1414 $"
+#define REVISION "gaim:$Revision: 1422 $"
 
 #define TYPE_SIGNON    1
 #define TYPE_DATA      2
@@ -269,7 +269,7 @@
 	}
 
 	/* there's data waiting to be read, so read it. */
-	if (wait_reply(gc, buf, 8 * 1024) < 0) {
+	if (wait_reply(gc, buf, 8 * 1024) <= 0) {
 		hide_login_progress(gc, _("Connection Closed"));
 		signoff(gc);
 		return;
@@ -672,7 +672,7 @@
 {
 	char buf[MSG_LEN], snd[MSG_LEN];
 	toc_build_config(gc, buf, MSG_LEN, FALSE);
-	g_snprintf(snd, MSG_LEN, "toc_set_config \"%s\"", buf);
+	g_snprintf(snd, MSG_LEN, "toc_set_config {%s}", buf);
 	sflap_send(gc, snd, -1, TYPE_DATA);
 }