# HG changeset patch # User Ethan Blanton # Date 1134018650 0 # Node ID a2f7bb907926ccba9092610b9f37f9dfd76099fc # Parent ee10d26f7fa9af0494c166c69630af37be1dcaca [gaim-migrate @ 14700] This changes gaim_got_infoblock to only try to set the message on a buddy if a message was actually received. This fixes a crash when G_DISABLE_CHECKS is defined. committer: Tailor Script diff -r ee10d26f7fa9 -r a2f7bb907926 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Dec 08 03:30:05 2005 +0000 +++ b/src/protocols/oscar/oscar.c Thu Dec 08 05:10:50 2005 +0000 @@ -5124,11 +5124,10 @@ gchar *charset = oscar_encoding_extract(userinfo->away_encoding); message = oscar_encoding_to_utf8(charset, userinfo->away, userinfo->away_len); g_free(charset); + gaim_status_set_attr_string(status, "message", message); + g_free(message); } - gaim_status_set_attr_string(status, "message", message); - g_free(message); - gaim_blist_update_buddy_status(b, status); }