changeset 7427:30bbf20b4ef1

[gaim-migrate @ 8030] more error stuffs committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 04 Nov 2003 22:05:30 +0000
parents d3711f98f568
children ab1ddb5c1216
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Tue Nov 04 22:01:50 2003 +0000
+++ b/src/protocols/jabber/jabber.c	Tue Nov 04 22:05:30 2003 +0000
@@ -345,14 +345,6 @@
 	gc->inpa = gaim_input_add(js->fd, GAIM_INPUT_READ, jabber_recv_cb, gc);
 }
 
-static void tls_init(JabberStream *js)
-{
-	gaim_input_remove(js->gc->inpa);
-	js->gc->inpa = 0;
-	js->gsc = gaim_ssl_connect_fd(js->gc->account, js->fd,
-			jabber_login_callback_ssl, NULL, js->gc);
-}
-
 static void
 jabber_ssl_connect_failure(GaimSslConnection *gsc, GaimSslErrorType error,
 		gpointer data)
@@ -366,6 +358,15 @@
 	}
 }
 
+static void tls_init(JabberStream *js)
+{
+	gaim_input_remove(js->gc->inpa);
+	js->gc->inpa = 0;
+	js->gsc = gaim_ssl_connect_fd(js->gc->account, js->fd,
+			jabber_login_callback_ssl, jabber_ssl_connect_failure, js->gc);
+}
+
+
 static void
 jabber_login(GaimAccount *account)
 {