[Freeswitch-svn] [commit] r13635 - freeswitch/trunk/src

FreeSWITCH SVN mrene at freeswitch.org
Fri Jun 5 07:39:28 PDT 2009


Author: mrene
Date: Fri Jun  5 09:39:28 2009
New Revision: 13635

Log:
fix

Modified:
   freeswitch/trunk/src/switch_nat.c

Modified: freeswitch/trunk/src/switch_nat.c
==============================================================================
--- freeswitch/trunk/src/switch_nat.c	(original)
+++ freeswitch/trunk/src/switch_nat.c	Fri Jun  5 09:39:28 2009
@@ -184,7 +184,7 @@
 
 	do {
 		fd_set fds;
-		struct timeval timeout;
+		struct timeval timeout = { 1, 0 };
 		FD_ZERO(&fds);
 		FD_SET(nat_globals.natpmp.s, &fds);
 		getnatpmprequesttimeout(&nat_globals.natpmp, &timeout);



More information about the Freeswitch-svn mailing list