mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 08:44:14 +00:00
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:
3
utils.c
3
utils.c
@@ -507,8 +507,7 @@ static struct timeval tvfix(struct timeval a)
|
|||||||
a.tv_sec += a.tv_usec % ONE_MILLION;
|
a.tv_sec += a.tv_usec % ONE_MILLION;
|
||||||
a.tv_usec %= ONE_MILLION;
|
a.tv_usec %= ONE_MILLION;
|
||||||
} else if (a.tv_usec < 0) {
|
} else if (a.tv_usec < 0) {
|
||||||
if (option_debug)
|
ast_log(LOG_WARNING, "warning negative timestamp %ld.%ld\n",
|
||||||
ast_log(LOG_DEBUG, "warning negative timestamp %ld.%ld\n",
|
|
||||||
a.tv_sec, a.tv_usec);
|
a.tv_sec, a.tv_usec);
|
||||||
a.tv_usec = 0;
|
a.tv_usec = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user