comparison 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
comparison
equal deleted inserted replaced
15053:06b0b50d3617 15054:f58283ce58ea
134 gaim_ssl_init(); 134 gaim_ssl_init();
135 gaim_stun_init(); 135 gaim_stun_init();
136 gaim_xfers_init(); 136 gaim_xfers_init();
137 gaim_idle_init(); 137 gaim_idle_init();
138 138
139 /* Call this early on to try to auto-detect our IP address */ 139 /*
140 * Call this early on to try to auto-detect our IP address and
141 * hopefully save some time later.
142 */
140 gaim_network_get_my_ip(-1); 143 gaim_network_get_my_ip(-1);
141 144
142 if (ops != NULL && ops->ui_init != NULL) 145 if (ops != NULL && ops->ui_init != NULL)
143 ops->ui_init(); 146 ops->ui_init();
144 147