changeset 1368:12365cb601cb

[gaim-migrate @ 1378] patch from tftv256, slightly modified. IE sucks shit. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 03 Jan 2001 04:31:12 +0000
parents ad346597b7b2
children 0b4278a90323
files src/toc.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Wed Jan 03 04:19:07 2001 +0000
+++ b/src/toc.c	Wed Jan 03 04:31:12 2001 +0000
@@ -46,7 +46,7 @@
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
 
-#define REVISION "gaim:$Revision: 1343 $"
+#define REVISION "gaim:$Revision: 1378 $"
 
 #define TYPE_SIGNON    1
 #define TYPE_DATA      2
@@ -726,9 +726,10 @@
 
 static void toc_set_info(struct gaim_connection *g, char *info)
 {
-	char buf[MSG_LEN];
-	escape_text(info);
-	g_snprintf(buf, sizeof(buf), "toc_set_info \"%s\n\"", info);
+	char buf[MSG_LEN], buf2[MSG_LEN];
+	g_snprintf(buf2, sizeof buf2, "%s", info);
+	escape_text(buf2);
+	g_snprintf(buf, sizeof(buf), "toc_set_info \"%s\n\"", buf2);
 	sflap_send(g, buf, -1, TYPE_DATA);
 }