comparison src/protocols/jabber/jabber.c @ 12394:51898e3031e6

[gaim-migrate @ 14701] jabber_close was trying to set our presence with jabber_presence_send, but passing a NULL status -- which causes jabber_presence_send to return immediately when the glib sanity functions are enabled, and a swift core dump with G_DISABLE_CHECKS. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 08 Dec 2005 05:13:21 +0000
parents 255e6912607b
children 5cfc53ead482
comparison
equal deleted inserted replaced
12393:a2f7bb907926 12394:51898e3031e6
783 783
784 static void jabber_close(GaimConnection *gc) 784 static void jabber_close(GaimConnection *gc)
785 { 785 {
786 JabberStream *js = gc->proto_data; 786 JabberStream *js = gc->proto_data;
787 787
788 jabber_presence_send(gc->account, NULL);
789 jabber_send_raw(js, "</stream:stream>", -1); 788 jabber_send_raw(js, "</stream:stream>", -1);
790 789
791 if(js->gsc) { 790 if(js->gsc) {
792 gaim_ssl_close(js->gsc); 791 gaim_ssl_close(js->gsc);
793 } else if (js->fd > 0) { 792 } else if (js->fd > 0) {