Mercurial > pidgin.yaz
changeset 3260:778646c2adbc
[gaim-migrate @ 3278]
Better fix for NULL JID resource in presence handling. (faceprint insisted)
committer: Tailor Script <tailor@pidgin.im>
author | Jim Seymour <jseymour> |
---|---|
date | Sat, 18 May 2002 23:31:33 +0000 |
parents | 8b1309bea7e5 |
children | 59df3cc740e9 |
files | src/protocols/jabber/jabber.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Sat May 18 20:34:55 2002 +0000 +++ b/src/protocols/jabber/jabber.c Sat May 18 23:31:33 2002 +0000 @@ -1087,7 +1087,7 @@ serv_got_update(GJ_GC(gjc), buddy, 0, 0, 0, 0, 0, 0); } } else { - if (!resources) { + if (res && !resources) { b->proto_data = g_slist_append(b->proto_data, g_strdup(res)); }