diff libgaim/core.c @ 15054:f58283ce58ea

[gaim-migrate @ 17838] Validate the IP address entered by the user in prefs before trying to use it. This should fix a few crashes. I feel like we could get rid of gaim_network_ip_atoi() and just use inet_aton() committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 28 Nov 2006 09:05:34 +0000
parents f189327b9968
children
line wrap: on
line diff
--- a/libgaim/core.c	Tue Nov 28 08:44:12 2006 +0000
+++ b/libgaim/core.c	Tue Nov 28 09:05:34 2006 +0000
@@ -136,7 +136,10 @@
 	gaim_xfers_init();
 	gaim_idle_init();
 
-	/* Call this early on to try to auto-detect our IP address */
+	/*
+	 * Call this early on to try to auto-detect our IP address and
+	 * hopefully save some time later.
+	 */
 	gaim_network_get_my_ip(-1);
 
 	if (ops != NULL && ops->ui_init != NULL)