# HG changeset patch # User Sadrul Habib Chowdhury # Date 1156816170 0 # Node ID 705c76724ce2cb298ce6780e409e1a9aa71e8450 # Parent ee29af32f16317da66312b32d8fb5ffd317c6d04 [gaim-migrate @ 17074] Patch #1548271: "Get Info fix for MSN" "'Get Info' currently fails for MSN buddies. This patch fixes that, and possibly plugs a small leak." and "rlaager: sadrul: I don't care to both with reviewing 1548271. I trust you know what you're doing. You can just commit that one. ;)" So you know who to blame if things don't work ;) committer: Tailor Script diff -r ee29af32f163 -r 705c76724ce2 libgaim/protocols/msn/msn.c --- a/libgaim/protocols/msn/msn.c Tue Aug 29 01:00:18 2006 +0000 +++ b/libgaim/protocols/msn/msn.c Tue Aug 29 01:49:30 2006 +0000 @@ -1420,7 +1420,7 @@ #define MSN_GOT_INFO_GET_FIELD(a, b) \ found = gaim_markup_extract_info_field(stripped, stripped_len, s, \ - "\n" a "\t", 0, "\n", 0, "Undisclosed", b, 0, NULL, NULL); \ + "\n" a ":", 0, "\n", 0, "Undisclosed", b, 0, NULL, NULL); \ if (found) \ sect_info = TRUE; @@ -1469,6 +1469,8 @@ gaim_notify_userinfo(info_data->gc, info_data->name, buf, NULL, NULL); g_free(tooltip_text); + g_free(info_data->name); + g_free(info_data); return; } @@ -1599,6 +1601,7 @@ personal = g_strdup_printf(_("
Personal
%s"), s->str); s = g_string_truncate(s, 0); sect_info = FALSE; + has_info = TRUE; } /* Business */