From 77b670c4ab62db2fa2386e15aa6ae4860bb401c9 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 29 Nov 2011 18:43:16 +0000 Subject: Allow each logging destination and console to have its own notion of the verbosity level. Review: https://reviewboard.asterisk.org/r/1599 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346391 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/codec_dahdi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'codecs') diff --git a/codecs/codec_dahdi.c b/codecs/codec_dahdi.c index 9e15d4095..bca0256e3 100644 --- a/codecs/codec_dahdi.c +++ b/codecs/codec_dahdi.c @@ -603,8 +603,7 @@ static int find_transcoders(void) } for (info.tcnum = 0; !(res = ioctl(fd, DAHDI_TC_GETINFO, &info)); info.tcnum++) { - if (option_verbose > 1) - ast_verbose(VERBOSE_PREFIX_2 "Found transcoder '%s'.\n", info.name); + ast_verb(2, "Found transcoder '%s'.\n", info.name); /* Complex codecs need to support signed linear. If the * hardware transcoder does not natively support signed linear @@ -628,8 +627,9 @@ static int find_transcoders(void) close(fd); - if (!info.tcnum && (option_verbose > 1)) - ast_verbose(VERBOSE_PREFIX_2 "No hardware transcoders found.\n"); + if (!info.tcnum) { + ast_verb(2, "No hardware transcoders found.\n"); + } for (x = 0; x < 32; x++) { for (y = 0; y < 32; y++) { -- cgit v1.2.3