From: <sa...@us...> - 2006-08-29 01:49:36
|
Revision: 17074 Author: sadrul Date: 2006-08-28 18:49:30 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=17074&view=rev Log Message: ----------- 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 ;) Modified Paths: -------------- trunk/libgaim/protocols/msn/msn.c Modified: trunk/libgaim/protocols/msn/msn.c =================================================================== --- trunk/libgaim/protocols/msn/msn.c 2006-08-29 01:00:18 UTC (rev 17073) +++ trunk/libgaim/protocols/msn/msn.c 2006-08-29 01:49:30 UTC (rev 17074) @@ -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(_("<br><b>Personal</b><br>%s"), s->str); s = g_string_truncate(s, 0); sect_info = FALSE; + has_info = TRUE; } /* Business */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |