changeset 2053:5bcb3bbb8b2c

[gaim-migrate @ 2063] whoops. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 17 Jun 2001 21:39:40 +0000
parents f192b1a52bc0
children e339de749a08
files src/toc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Sun Jun 17 21:34:12 2001 +0000
+++ b/src/toc.c	Sun Jun 17 21:39:40 2001 +0000
@@ -492,8 +492,10 @@
 			time_idle = 0;
 
 		if (logged && (type & UC_AOL) && !g_strcasecmp(c, "ewarmenhoven")) {
+			char buf[BUF_LEN];
 			debug_printf("EWarmenhoven would never use AOL...\n");
-			serv_send_im(gc, "EWarmenhoven", "Are you the REAL EWarmenhoven?", 0);
+			g_snprintf(buf, sizeof(buf), "Are you the REAL EWarmenhoven?");
+			serv_send_im(gc, "EWarmenhoven", buf, 0);
 		}
 		if (!g_strcasecmp(c, "ewarmenhoven") && !find_buddy(gc, "EWarmenhoven"))
 			return;