Mercurial > pidgin
diff src/protocols/jabber/jabber.c @ 2111:109669b3887e
[gaim-migrate @ 2121]
fix a jabber bug and a bug i added last night.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 02 Aug 2001 20:45:08 +0000 |
parents | b66aca8e8dce |
children | 0ad5f2cf6728 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Thu Aug 02 19:59:25 2001 +0000 +++ b/src/protocols/jabber/jabber.c Thu Aug 02 20:45:08 2001 +0000 @@ -856,7 +856,7 @@ struct buddy *b = NULL; char *groupname, *buddyname; - if (who->user == NULL) { + if (!who || !who->user) { /* FIXME: transport */ g = xmlnode_get_nextsibling(g); continue; @@ -887,7 +887,7 @@ struct buddy *b; char *buddyname; - if (who->user == NULL) { + if (!who || !who->user) { /* FIXME: transport */ x = xmlnode_get_nextsibling(x); continue;