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
This commit is contained in:
Russell Bryant
2005-07-19 15:32:03 +00:00
parent de905a632a
commit 4817bc599d

View File

@@ -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;
}