]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Jul 2008 14:53:54 +0000 (14:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Jul 2008 14:53:54 +0000 (14:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9130 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index 9c8513969f7136c3083c2f09d463fa79c6378d06..095c9c9c599cc14fb79740fd6dd9acd62097736b 100644 (file)
@@ -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;
                        }
                }