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
This commit is contained in:
Tilghman Lesher
2007-12-14 14:48:38 +00:00
parent c8759aff25
commit d5b454bf8d
13 changed files with 48 additions and 84 deletions

View File

@@ -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;