src/protocols/jabber/si.c

changeset 8838
c23227da7b4a
parent 8343
842e3b8b1bd8
child 9030
7b574a641391
--- a/src/protocols/jabber/si.c	Wed Apr 28 03:10:31 2004 +0000
+++ b/src/protocols/jabber/si.c	Wed Apr 28 03:16:40 2004 +0000
@@ -281,7 +281,7 @@
 		return;
 	}
 
-	host = gaim_network_get_ip_for_account(jsx->js->gc->account, jsx->js->fd);
+	host = gaim_network_get_my_ip(jsx->js->fd);
 
 	buffer[0] = 0x05;
 	buffer[1] = 0x00;
@@ -429,7 +429,7 @@
 		return;
 	}
 
-	xmlnode_set_attrib(streamhost, "host",  gaim_network_get_ip_for_account(jsx->js->gc->account, jsx->js->fd));
+	xmlnode_set_attrib(streamhost, "host",  gaim_network_get_my_ip(jsx->js->fd));
 	xfer->local_port = gaim_network_get_port_from_fd(fd);
 	port = g_strdup_printf("%hu", xfer->local_port);
 	xmlnode_set_attrib(streamhost, "port", port);

mercurial