summaryrefslogtreecommitdiff
path: root/main/srv.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 14:48:38 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 14:48:38 +0000
commitd5b454bf8d534e4c37e19148a22315c1c54b4a1e (patch)
treeeb8395c48dfe42302c76abaf23fc722e7e6190bf /main/srv.c
parentc8759aff259c1593938899b49c6adc28be5306cd (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/srv.c')
-rw-r--r--main/srv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/srv.c b/main/srv.c
index 644bf757b..3950e255f 100644
--- a/main/srv.c
+++ b/main/srv.c
@@ -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;