# HG changeset patch # User Eric Warmenhoven # Date 979847653 0 # Node ID 47413c49bbeecccd436d161d6e29d3f6de98126f # Parent a3e472534370f598e8760a78bde595e4fb30b487 [gaim-migrate @ 1422] hi there oh yeah, scrutty fixed a socks problem committer: Tailor Script diff -r a3e472534370 -r 47413c49bbee src/toc.c --- 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); }