[asterisk-commits] file: branch 1.4 r55957 - in /branches/1.4: ./
apps/app_meetme.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Feb 21 13:35:41 MST 2007
Author: file
Date: Wed Feb 21 14:35:40 2007
New Revision: 55957
URL: http://svn.digium.com/view/asterisk?view=rev&rev=55957
Log:
Merged revisions 55956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2 lines
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.
........
Modified:
branches/1.4/ (props changed)
branches/1.4/apps/app_meetme.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=55957&r1=55956&r2=55957
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Wed Feb 21 14:35:40 2007
@@ -1981,7 +1981,7 @@
if (conf->transframe[index]) {
if (conf->transframe[index]->frametype != AST_FRAME_NULL) {
if (ast_write(chan, conf->transframe[index]))
- 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_mutex_unlock(&conf->listenlock);
@@ -1993,7 +1993,7 @@
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
More information about the asterisk-commits
mailing list