diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 06:26:16 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 06:26:16 +0000 |
commit | 5ccd44963802ead9756af246243eb39384eea044 (patch) | |
tree | e7092725bdc5ef9ca65c6dff1984e877710b625a /channel.c | |
parent | 60636c259914d27a04b43c8bc26dece1871d876a (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |