Mercurial > pidgin.yaz
changeset 20544:a36fe4add25a
remove stripping of hard-coded domain names, and just strip anything that starts with (http. Fixes #1618
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 07:52:15 +0000 |
parents | 87ce3da53550 |
children | 4a8407152e9a |
files | libpurple/protocols/msn/msn.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Wed Sep 19 07:40:17 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Wed Sep 19 07:52:15 2007 +0000 @@ -1573,8 +1573,7 @@ msn_info_strip_search_link(const char *field, size_t len) { const char *c; - if ((c = strstr(field, " (http://spaces.live.com/default.aspx?page=searchresults")) == NULL && - (c = strstr(field, " (http://spaces.msn.com/default.aspx?page=searchresults")) == NULL) + if ((c = strstr(field, " (http://")) == NULL)) return g_strndup(field, len); return g_strndup(field, c - field); }