aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-30 06:26:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-30 06:26:16 +0000
commit5ccd44963802ead9756af246243eb39384eea044 (patch)
treee7092725bdc5ef9ca65c6dff1984e877710b625a /channel.c
parent60636c259914d27a04b43c8bc26dece1871d876a (diff)
convert internal timing to be stored as a flag in the ast_options flags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16477 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channel.c b/channel.c
index 717a92de0..e392c3a1a 100644
--- a/channel.c
+++ b/channel.c
@@ -2033,9 +2033,9 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
int ast_internal_timing_enabled(struct ast_channel *chan)
{
- int ret = option_internal_timing && chan->timingfd > -1;
- if (option_verbose > 2)
- ast_verbose(VERBOSE_PREFIX_3 "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", option_internal_timing, chan->timingfd);
+ int ret = ast_opt_internal_timing && chan->timingfd > -1;
+ if (option_debug > 3)
+ ast_log(LOG_DEBUG, "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd);
return ret;
}