Mercurial > pidgin.yaz
comparison src/protocols/jabber/jabber.c @ 13384:a580ffe73314
[gaim-migrate @ 15757]
jabber updates, including the first half of JEP-0115 support, and maybe the
fix for jabber plaintext messages not having their line-endings preserved
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 03 Mar 2006 03:38:36 +0000 |
parents | 263c2db78f77 |
children | 9ad3d85fffeb |
comparison
equal
deleted
inserted
replaced
13383:07286677b8b8 | 13384:a580ffe73314 |
---|---|
910 #ifdef HAVE_OPENSSL | 910 #ifdef HAVE_OPENSSL |
911 /* If using OpenSSL, don't perform any actions on the ssl connection | 911 /* If using OpenSSL, don't perform any actions on the ssl connection |
912 * if we were forcibly disconnected because it will crash. -- evands | 912 * if we were forcibly disconnected because it will crash. -- evands |
913 */ | 913 */ |
914 if (!gc->disconnect_timeout) | 914 if (!gc->disconnect_timeout) |
915 jabber_send_raw(js, "</stream:stream>", -1); | 915 #endif |
916 #else | |
917 jabber_send_raw(js, "</stream:stream>", -1); | 916 jabber_send_raw(js, "</stream:stream>", -1); |
918 #endif | |
919 | 917 |
920 if(js->gsc) { | 918 if(js->gsc) { |
921 #ifdef HAVE_OPENSSL | 919 #ifdef HAVE_OPENSSL |
922 if (!gc->disconnect_timeout) | 920 if (!gc->disconnect_timeout) |
921 #endif | |
923 gaim_ssl_close(js->gsc); | 922 gaim_ssl_close(js->gsc); |
924 #else | |
925 gaim_ssl_close(js->gsc); | |
926 #endif | |
927 } else if (js->fd > 0) { | 923 } else if (js->fd > 0) { |
928 if(js->gc->inpa) | 924 if(js->gc->inpa) |
929 gaim_input_remove(js->gc->inpa); | 925 gaim_input_remove(js->gc->inpa); |
930 close(js->fd); | 926 close(js->fd); |
931 } | 927 } |