diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-12-14 14:48:38 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-12-14 14:48:38 +0000 |
commit | d5b454bf8d534e4c37e19148a22315c1c54b4a1e (patch) | |
tree | eb8395c48dfe42302c76abaf23fc722e7e6190bf /main/asterisk.c | |
parent | c8759aff259c1593938899b49c6adc28be5306cd (diff) |
Convert ast_verbose to ast_verb.
Reported by: snuffy
Patch by: snuffy
(Closes issue #11547)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 95778bfe4..67dc361d0 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -986,8 +986,7 @@ static void *netconsole(void *vconsole) break; } } - if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Remote UNIX connection disconnected\n"); + ast_verb(3, "Remote UNIX connection disconnected\n"); close(con->fd); close(con->p[0]); close(con->p[1]); @@ -1050,10 +1049,8 @@ static void *listener(void *unused) fdprint(s, "No more connections allowed\n"); ast_log(LOG_WARNING, "No more connections allowed\n"); close(s); - } else if (consoles[x].fd > -1) { - if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Remote UNIX connection\n"); - } + } else if (consoles[x].fd > -1) + ast_verb(3, "Remote UNIX connection\n"); } } return NULL; |