[Freeswitch-svn] [commit] r13657 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Jun 5 14:36:52 PDT 2009
Author: anthm
Date: Fri Jun 5 16:36:52 2009
New Revision: 13657
Log:
picky compilers
Modified:
freeswitch/trunk/src/switch_core.c
Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c (original)
+++ freeswitch/trunk/src/switch_core.c Fri Jun 5 16:36:52 2009
@@ -104,7 +104,9 @@
switch_set_string(main_ip4, guess_ip4);
} else {
if (!(ok4 = !strcmp(main_ip4, guess_ip4))) {
- struct in_addr in = { mask };
+ struct in_addr in;
+
+ in.s_addr = mask;
switch_set_string(old_ip4, main_ip4);
switch_set_string(main_ip4, guess_ip4);
switch_core_set_variable("local_ip_v4", guess_ip4);
More information about the Freeswitch-svn
mailing list