I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.

Thanks to kpfleming for pointing this out.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2007-12-14 19:19:07 +00:00
parent 83f152b95c
commit 74577dd091
3 changed files with 3 additions and 3 deletions

View File

@@ -2677,7 +2677,7 @@ static void purge_sessions(int n_max)
if (s->sessiontimeout && (now > s->sessiontimeout) && !s->inuse) {
AST_LIST_REMOVE_CURRENT(list);
ast_atomic_fetchadd_int(&num_sessions, -1);
if (s->authenticated && (VERBOSITY_ATLEAST(1)) && manager_displayconnects(s)) {
if (s->authenticated && (VERBOSITY_ATLEAST(2)) && manager_displayconnects(s)) {
ast_verb(2, "HTTP Manager '%s' timed out from %s\n",
s->username, ast_inet_ntoa(s->sin.sin_addr));
}