git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@256009
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int ast_internal_timing_enabled(struct ast_channel *chan)
{
- int ret = ast_opt_internal_timing && chan->timingfd > -1;
- if (option_debug > 4)
- 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;
+ return (ast_opt_internal_timing && chan->timingfd > -1);
}
struct ast_frame *ast_read(struct ast_channel *chan)