comparison plugins/jabber/jabber.c @ 1707:5417bf0c8e28

[gaim-migrate @ 1717] shouldn't have two messages like that. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 12 Apr 2001 23:57:39 +0000
parents 07097db15338
children 14caa7df478c
comparison
equal deleted inserted replaced
1706:e6671b80a1f2 1707:5417bf0c8e28
834 x = xmlnode_get_tag(p->x, "error"); 834 x = xmlnode_get_tag(p->x, "error");
835 if (x) { 835 if (x) {
836 debug_printf("error %d: %s\n\n", 836 debug_printf("error %d: %s\n\n",
837 atoi(xmlnode_get_attrib(x, "code")), 837 atoi(xmlnode_get_attrib(x, "code")),
838 xmlnode_get_data(xmlnode_get_firstchild(x))); 838 xmlnode_get_data(xmlnode_get_firstchild(x)));
839 hide_login_progress(GJ_GC(j), 839
840 xmlnode_get_data(xmlnode_get_firstchild(x))); 840 }
841
842 } else
843 hide_login_progress(GJ_GC(j), "unknown error");
844 841
845 xmlnode_free(p->x); 842 xmlnode_free(p->x);
846 gjab_send_raw(j, "</stream:stream>"); 843 gjab_send_raw(j, "</stream:stream>");
847 return; 844 return;
848 } 845 }