[Freeswitch-svn] [commit] r9130 - freeswitch/trunk/src/mod/applications/mod_dptools

Freeswitch SVN anthm at freeswitch.org
Tue Jul 22 10:53:55 EDT 2008


Author: anthm
Date: Tue Jul 22 10:53:54 2008
New Revision: 9130

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

Log:
update

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Tue Jul 22 10:53:54 2008
@@ -1192,7 +1192,9 @@
 			}
 		} else {
 			if ((to = atol(argv[3])) < switch_timestamp(NULL)) {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n");
+				if (to >= 1) {
+					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n");
+				}
 				to = 0;
 			}
 		}



More information about the Freeswitch-svn mailing list