From 4817bc599dc3f850cc772f311ede3a717dc852bf Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 19 Jul 2005 15:32:03 +0000 Subject: [PATCH] restore warning about negative timestamps now that it is fixed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6161 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils.c b/utils.c index a1dfbb0537..a45826b9e6 100755 --- 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; }