From 5fc385c1c5c34dad52a21e692966bec18ddf5bfd Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 22 Jul 2008 14:53:54 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9130 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_dptools/mod_dptools.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 9c8513969f..095c9c9c59 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1192,7 +1192,9 @@ SWITCH_STANDARD_APP(tone_detect_session_function) } } 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; } }