Don't don't show verbose 3 message when verbose not set

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-12-03 15:06:41 +00:00
parent 4518e7d1f0
commit 1740f71793
1 changed files with 2 additions and 1 deletions

View File

@ -3515,7 +3515,8 @@ static void reg_source_db(struct iax2_peer *p)
if (d) {
*d = '\0';
d++;
ast_verbose(VERBOSE_PREFIX_3 "Seeding '%s' at %s:%d for %d\n", p->name,
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Seeding '%s' at %s:%d for %d\n", p->name,
inet_ntoa(in), atoi(c), atoi(d));
iax2_poke_peer(p);
p->expirey = atoi(d);