changeset 5063:be31fb7a719e

[gaim-migrate @ 5414] "CVS will be broken frequently for fun" --Topic, #gaim, 07 April 2003 committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 07 Apr 2003 17:11:23 +0000
parents 736a98f23fcc
children 06a304651562
files src/server.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Mon Apr 07 16:57:44 2003 +0000
+++ b/src/server.c	Mon Apr 07 17:11:23 2003 +0000
@@ -815,14 +815,18 @@
 			qm->len = len;
 			unread_message_queue = g_slist_append(unread_message_queue, qm);
 		} else {
+			/* "CVS will be broken frequently for fun"
+			   -- Topic on #gaim, 7 April 2003 */
+			char *upper = g_ascii_strup(message, len);
 			if (cnv == NULL)
 				cnv = gaim_conversation_new(GAIM_CONV_IM, gc->account, name);
 
 			/* CONV XXX gaim_conversation_set_name(cnv, name); */
 
-			gaim_im_write(GAIM_IM(cnv), NULL, message, len,
+			gaim_im_write(GAIM_IM(cnv), NULL, upper, len,
 						  away | WFLAG_RECV, mtime);
 			gaim_window_flash(gaim_conversation_get_window(cnv));
+			g_free(upper);
 		}
 	}