aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-19 15:32:03 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-19 15:32:03 +0000
commit8737a4e465e5579385bb2512e3a10fbc8b3b52ce (patch)
tree8e18dc02a1c3c69416c601d43e795730ab14640a /utils.c
parent30f1a705ac297a9d3a02ba80d7d90161da623a7a (diff)
restore warning about negative timestamps now that it is fixed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6161 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index a1dfbb053..a45826b9e 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;
}