aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-21 20:32:16 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-21 20:32:16 +0000
commit46dd64aaef844a2202c707c6f6f926abb65ac123 (patch)
tree44b0f154ebc3b6217ac4297f084855f4993fd064
parent2b455dbb0c896138ac300f2b2b77bf2f3f639498 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.2@55956 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 1b9b12952..9c22ea20d 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));