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

@@ -224,10 +224,8 @@ int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, co
ast_copy_string(host, current->host, hostlen);
*port = current->port;
ast_free(current);
if (option_verbose > 3) {
ast_verbose(VERBOSE_PREFIX_3 "ast_get_srv: SRV lookup for '%s' mapped to host %s, port %d\n",
ast_verb(3, "ast_get_srv: SRV lookup for '%s' mapped to host %s, port %d\n",
service, host, *port);
}
} else {
host[0] = '\0';
*port = -1;