aboutsummaryrefslogtreecommitdiffstats
path: root/main/srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/srv.c')
-rw-r--r--main/srv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/srv.c b/main/srv.c
index 7cf072cda..4fe85a070 100644
--- a/main/srv.c
+++ b/main/srv.c
@@ -82,8 +82,7 @@ static int parse_srv(char *host, int hostlen, int *portno, unsigned char *answer
return -1;
}
if (res && strcmp(repl, ".")) {
- if (option_verbose > 3)
- ast_verbose( VERBOSE_PREFIX_3 "parse_srv: SRV mapped to host %s, port %d\n", repl, ntohs(srv->portnum));
+ ast_verb(3, "parse_srv: SRV mapped to host %s, port %d\n", repl, ntohs(srv->portnum));
if (host) {
ast_copy_string(host, repl, hostlen);
host[hostlen-1] = '\0';