mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
make the warning message be LOG_WARNING (issue #4960)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
utils.c
2
utils.c
@@ -502,7 +502,7 @@ int ast_false(const char *s)
|
||||
static struct timeval tvfix(struct timeval a)
|
||||
{
|
||||
if (a.tv_usec >= ONE_MILLION) {
|
||||
ast_log(LOG_ERROR, "warning too large timestamp %ld.%ld\n",
|
||||
ast_log(LOG_WARNING, "warning too large timestamp %ld.%ld\n",
|
||||
a.tv_sec, a.tv_usec);
|
||||
a.tv_sec += a.tv_usec % ONE_MILLION;
|
||||
a.tv_usec %= ONE_MILLION;
|
||||
|
Reference in New Issue
Block a user