gaim/gaim

3c3d553caccb
Parents 36f7c82d3bb1
Children ec6024a646ff
Plug a small leak in whispered messages and handle messages that are
missing flags a bit better.
--- a/src/gtkconv.c Sat Apr 30 23:12:14 2005 -0400
+++ b/src/gtkconv.c Sun May 01 09:59:51 2005 -0400
@@ -5261,12 +5261,16 @@
}
else if (flags & GAIM_MESSAGE_SEND)
strcpy(color, SEND_COLOR);
+ else {
+ gaim_debug_error("gtkconv", "message missing flags\n");
+ strcpy(color, "#000000");
+ }
}
-
- if(who_escaped)
- g_free(who_escaped);
}
+ if(who_escaped)
+ g_free(who_escaped);
+
if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps"))
g_snprintf(buf, BUF_LONG,
"<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\">(%s)</FONT> "