changeset 13180:bce53c3536da

[gaim-migrate @ 15543] the network and stun subsystems need to be initialized before we try to look up the IP committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 08 Feb 2006 15:07:54 +0000
parents 5adc0c9da9f3
children 1ac07e52c76a
files src/core.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/core.c	Wed Feb 08 07:44:23 2006 +0000
+++ b/src/core.c	Wed Feb 08 15:07:54 2006 +0000
@@ -99,8 +99,6 @@
 	gaim_dbus_init();
 #endif
 
-	/* Call this early on to try to auto-detect our IP address */
-	gaim_network_get_my_ip(-1);
 
 	/* Initialize all static protocols. */
 	static_proto_init();
@@ -134,6 +132,9 @@
 	gaim_xfers_init();
 	gaim_idle_init();
 
+	/* Call this early on to try to auto-detect our IP address */
+	gaim_network_get_my_ip(-1);
+
 	if (ops != NULL && ops->ui_init != NULL)
 		ops->ui_init();