im.pidgin.pidgin: cbdc6d4cab03017c1c0267f861f9ed59407e1e61
khc at pidgin.im
khc at pidgin.im
Sun Nov 25 20:31:22 EST 2007
-----------------------------------------------------------------
Revision: cbdc6d4cab03017c1c0267f861f9ed59407e1e61
Ancestor: 1c0e01f6a8f6d234910e799c3177eb52e87cd5c5
Author: khc at pidgin.im
Date: 2007-11-26T01:22:45
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/jabber/google.c
ChangeLog:
don't set the current tune title if it's NULL
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google.c 23297cd56eef2e284e28e32d5713b401a7c90091
+++ libpurple/protocols/jabber/google.c a0d13b8f6207182f5fc8f10066881688229d698c
@@ -532,6 +532,6 @@ char *jabber_google_presence_outgoing(Pu
char *jabber_google_presence_outgoing(PurpleStatus *tune)
{
- char *ret = g_strdup_printf("â« %s", purple_status_get_attr_string(tune, PURPLE_TUNE_TITLE));
- return ret;
+ const char *attr = purple_status_get_attr_string(tune, PURPLE_TUNE_TITLE);
+ return attr ? g_strdup_printf("â« %s", attr) : g_strdup("");
}
More information about the Commits
mailing list