diff src/protocols/irc/irc.c @ 5681:46d7ad0dfa26

[gaim-migrate @ 6100] Rewrote the proxy code. It should now work with the new prefs, and it has a namespace and API too! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 03 Jun 2003 02:00:33 +0000
parents 0a0116686d51
children f5a4a17c58a5
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Mon Jun 02 22:30:25 2003 +0000
+++ b/src/protocols/irc/irc.c	Tue Jun 03 02:00:33 2003 +0000
@@ -1242,7 +1242,7 @@
 static void 
 dcc_chat_init(struct dcc_chat *data) {
 	if (g_list_find(gaim_connections_get_all(), data->gc)) {
-		proxy_connect(data->gc->account, data->ip_address, data->port, dcc_chat_callback, data);
+		gaim_proxy_connect(data->gc->account, data->ip_address, data->port, dcc_chat_callback, data);
 	} else {
 		g_free(data);
 	}
@@ -1960,7 +1960,7 @@
 	idata->str = g_string_new("");
 	idata->fd = -1;
 
-	rc = proxy_connect(account, idata->server,
+	rc = gaim_proxy_connect(account, idata->server,
 			   gaim_account_get_int(account, "port", 6667),
 			   irc_login_callback, gc);
 	
@@ -2755,7 +2755,7 @@
 	struct irc_file_transfer *ift = find_ift_by_xfer(gc, xfer);
 
 	ift->xfer = xfer;
-	proxy_connect(gc->account, ift->ip, ift->port, dcc_recv_callback, ift);
+	gaim_proxy_connect(gc->account, ift->ip, ift->port, dcc_recv_callback, ift);
 }
 #endif