From aa54a5f91bde899a29c0f575a1703bde22b5f2cb Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 21 Feb 2007 20:32:16 +0000 Subject: [PATCH] Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55956 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 1b9b12952a..9c22ea20d9 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1547,7 +1547,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c if (user->listen.actual) ast_frame_adjust_volume(&fr, user->listen.actual); if (ast_write(chan, &fr) < 0) { - ast_log(LOG_WARNING, "Unable to write frame to channel: %s\n", strerror(errno)); + ast_log(LOG_WARNING, "Unable to write frame to channel %s\n", chan->name); } } else ast_log(LOG_WARNING, "Failed to read frame: %s\n", strerror(errno)); -- 2.47.2