make the warning message be LOG_WARNING (issue #4960)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 23 Aug 2005 17:55:59 +0000 (17:55 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 23 Aug 2005 17:55:59 +0000 (17:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils.c

diff --git a/utils.c b/utils.c
index bf231d8..8accaa7 100755 (executable)
--- a/utils.c
+++ b/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;