From ef93e3343efe0208f28cfc3178c653a65f472cd7 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 22 Feb 2010 13:52:34 +0000 Subject: [PATCH] Don't log to debug unless debug is turned on git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248268 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f05c4ef3aa..39b3a57f8d 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1847,7 +1847,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c close(fd); goto outrun; } - ast_log(LOG_DEBUG, "Placed channel %s in %s conf %d\n", chan->name, dahdi_chan_name, conf->zapconf); + if (option_debug) { + ast_log(LOG_DEBUG, "Placed channel %s in %s conf %d\n", chan->name, dahdi_chan_name, conf->zapconf); + } if (!sent_event) { manager_event(EVENT_FLAG_CALL, "MeetmeJoin", -- 2.47.2