changeset 13941:46be62b128c7

[gaim-migrate @ 16477] This problem seems to exist on gnutls too; there's really no need ever to try to send data after getting forcably disconnected anyway. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 10 Jul 2006 18:02:48 +0000
parents fe1c92e1494a
children b14fdab68eac
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Mon Jul 10 06:59:27 2006 +0000
+++ b/src/protocols/jabber/jabber.c	Mon Jul 10 18:02:48 2006 +0000
@@ -919,15 +919,11 @@
 {
 	JabberStream *js = gc->proto_data;
 
-/* This is for Adium.  Gaim never uses OpenSSL, because of licensing issues,
- * and our configure doesn't check for it. -- rlaager */
-#ifdef HAVE_OPENSSL
 	/* If using OpenSSL, don't perform any actions on the ssl connection
 	 * if we were forcibly disconnected because it will crash. -- evands
 	 */
 	if (!gc->disconnect_timeout)
-#endif
-	jabber_send_raw(js, "</stream:stream>", -1);
+		jabber_send_raw(js, "</stream:stream>", -1);
 
 	if(js->gsc) {
 #ifdef HAVE_OPENSSL