From: Jim S. <jse...@us...> - 2002-05-18 23:31:36
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory usw-pr-cvs1:/tmp/cvs-serv27514/src/protocols/jabber Modified Files: jabber.c Log Message: Better fix for NULL JID resource in presence handling. (faceprint insisted) Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- jabber.c 18 May 2002 20:34:55 -0000 1.52 +++ jabber.c 18 May 2002 23:31:33 -0000 1.53 @@ -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)); } |