aboutsummaryrefslogtreecommitdiffstats
path: root/main/srv.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 14:48:38 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 14:48:38 +0000
commit35d428bccae3ad607662249b9fd6c3a2d16b9364 (patch)
treeeb8395c48dfe42302c76abaf23fc722e7e6190bf /main/srv.c
parent3b2aaf764626c8870fd2c7de8805fb935e65b0db (diff)
Convert ast_verbose to ast_verb.
Reported by: snuffy Patch by: snuffy (Closes issue #11547) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92913 f38db490-d61c-443f-a65b-d21fe96a405b
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;