Mercurial > pidgin.yaz
diff src/protocols/jabber/jabber.c @ 9414:f55fa0a2277e
[gaim-migrate @ 10229]
fix a potential crash if a jabber server responds incorrectly
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 27 Jun 2004 17:52:05 +0000 |
parents | b3bda982996b |
children | d27156c9c876 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Sun Jun 27 17:51:20 2004 +0000 +++ b/src/protocols/jabber/jabber.c Sun Jun 27 17:52:05 2004 +0000 @@ -974,7 +974,7 @@ type = xmlnode_get_attrib(packet, "type"); - if(!strcmp(type, "result")) { + if(type && !strcmp(type, "result")) { gaim_notify_info(js->gc, _("Password Changed"), _("Password Changed"), _("Your password has been changed.")); } else {