restore warning about negative timestamps now that it is fixed
authorRussell Bryant <russell@russellbryant.com>
Tue, 19 Jul 2005 15:32:03 +0000 (15:32 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 19 Jul 2005 15:32:03 +0000 (15:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils.c

diff --git a/utils.c b/utils.c
index a1dfbb0..a45826b 100755 (executable)
--- a/utils.c
+++ b/utils.c
@@ -507,8 +507,7 @@ static struct timeval tvfix(struct timeval a)
                a.tv_sec += a.tv_usec % ONE_MILLION;
                a.tv_usec %= ONE_MILLION;
        } else if (a.tv_usec < 0) {
-               if (option_debug)
-                       ast_log(LOG_DEBUG, "warning negative timestamp %ld.%ld\n",
+               ast_log(LOG_WARNING, "warning negative timestamp %ld.%ld\n",
                                a.tv_sec, a.tv_usec);
                a.tv_usec = 0;
        }