diff src/protocols/oscar/oscar.c @ 8838:518455386538

[gaim-migrate @ 9604] -Fix the compile error in perl that was my fault -Rename a network.c function and change it's signature (is that work applicable in c?) -Make rendezvous crash when trying to sign on committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 28 Apr 2004 03:16:40 +0000
parents 9693c881ac78
children 60cc86a15eed
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Wed Apr 28 03:10:31 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Wed Apr 28 03:16:40 2004 +0000
@@ -1277,7 +1277,6 @@
 
 static void oscar_ask_sendfile(GaimConnection *gc, const char *destsn) {
 	OscarData *od = (OscarData *)gc->proto_data;
-	GaimAccount *account = gaim_connection_get_account(gc);
 	GaimXfer *xfer;
 	struct aim_oft_info *oft_info;
 	const char *ip;
@@ -1288,7 +1287,7 @@
 	xfer = gaim_xfer_new(gaim_connection_get_account(gc), GAIM_XFER_SEND, destsn);
 
 	/* Create the oscar-specific data */
-	ip = gaim_network_get_ip_for_account(account, od->conn ? od->conn->fd : -1);
+	ip = gaim_network_get_my_ip(od->conn ? od->conn->fd : -1);
 	oft_info = aim_oft_createinfo(od->sess, NULL, destsn, ip, 0, 0, 0, NULL);
 	xfer->data = oft_info;