diff src/server.c @ 8700:ddd2bf87fe8d

[gaim-migrate @ 9453] I'm adding some of the oscar tooltip info to the oscar get info dialog. I don't think I'm finished yet, but I want to try something that might not work, and it's easier to "cvs -z3 diff -u | patch -p0 -R" than it is to un-do it. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Apr 2004 17:10:14 +0000
parents 8c7da2e36136
children 9e33e1fa6c97
line wrap: on
line diff
--- a/src/server.c	Sun Apr 18 15:44:52 2004 +0000
+++ b/src/server.c	Sun Apr 18 17:10:14 2004 +0000
@@ -1032,7 +1032,12 @@
 
 		/* apply default fonts and colors */
 		tmpmsg = stylize(gc->away, MSG_LEN);
-		serv_send_im(gc, name, gaim_str_sub_away_formatters(tmpmsg, alias), GAIM_CONV_IM_AUTO_RESP);
+
+		/* Move this to oscar.c! */
+		buffy = gaim_str_sub_away_formatters(tmpmsg, alias);
+		serv_send_im(gc, name, buffy, GAIM_CONV_IM_AUTO_RESP);
+		g_free(buffy);
+
 		if (!cnv && awayqueue &&
 			gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) {