Fix logger issue at hangup
authorMark Spencer <markster@digium.com>
Tue, 20 Jul 2004 15:10:18 +0000 (15:10 +0000)
committerMark Spencer <markster@digium.com>
Tue, 20 Jul 2004 15:10:18 +0000 (15:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

logger.c

index 5bb326c..480d64f 100755 (executable)
--- a/logger.c
+++ b/logger.c
@@ -444,6 +444,7 @@ void close_logger(void)
                m = tmp;
        }
        list = last = NULL;
+       msgcnt = 0;
        ast_mutex_unlock(&msglist_lock);
        return;
 }