diff libgaim/protocols/jabber/jabber.c @ 14262:baff095b146c

[gaim-migrate @ 16944] Rename GaimProxyConnectInfo to GaimProxyConnectData, and change the variables from connect_info to connect_data. Sorry, but I wanted to get this right before it becomes permanent. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 05:25:44 +0000
parents 1f963d406bb4
children 8a6154a52b84
line wrap: on
line diff
--- a/libgaim/protocols/jabber/jabber.c	Mon Aug 21 05:07:42 2006 +0000
+++ b/libgaim/protocols/jabber/jabber.c	Mon Aug 21 05:25:44 2006 +0000
@@ -420,7 +420,7 @@
 	GaimConnection *gc = data;
 	JabberStream *js = gc->proto_data;
 
-	js->connect_info = NULL;
+	js->connect_data = NULL;
 
 	if (source < 0) {
 		gaim_connection_error(gc, _("Couldn't connect to host"));
@@ -465,10 +465,10 @@
 
 static void jabber_login_connect(JabberStream *js, const char *server, int port)
 {
-	js->connect_info = gaim_proxy_connect(js->gc->account, server,
+	js->connect_data = gaim_proxy_connect(js->gc->account, server,
 			port, jabber_login_callback, js->gc);
 
-	if (js->connect_info == NULL)
+	if (js->connect_data == NULL)
 		gaim_connection_error(js->gc, _("Unable to create socket"));
 }
 
@@ -900,11 +900,11 @@
 	}
 
 	if(!js->gsc) {
-		js->connect_info = gaim_proxy_connect(account, server,
+		js->connect_data = gaim_proxy_connect(account, server,
 				gaim_account_get_int(account, "port", 5222),
 				jabber_login_callback, gc);
 
-		if (js->connect_info == NULL)
+		if (js->connect_data == NULL)
 			gaim_connection_error(gc, _("Unable to create socket"));
 	}
 }
@@ -920,8 +920,8 @@
 	if (!gc->disconnect_timeout)
 		jabber_send_raw(js, "</stream:stream>", -1);
 
-	if (js->connect_info)
-		gaim_proxy_connect_cancel(js->connect_info);
+	if (js->connect_data)
+		gaim_proxy_connect_cancel(js->connect_data);
 
 	if(js->gsc) {
 #ifdef HAVE_OPENSSL