# HG changeset patch # User Nathan Walp # Date 1088358725 0 # Node ID f55fa0a2277ef074febd40835b370af523a1a722 # Parent 281ddfe07d8d2b337cd93e943bd53832b36c4b5a [gaim-migrate @ 10229] fix a potential crash if a jabber server responds incorrectly committer: Tailor Script diff -r 281ddfe07d8d -r f55fa0a2277e src/protocols/jabber/jabber.c --- 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 {