[svn-commits] file: branch 1.2 r55956 - /branches/1.2/apps/app_meetme.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Feb 21 13:32:17 MST 2007


Author: file
Date: Wed Feb 21 14:32:16 2007
New Revision: 55956

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55956
Log:
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.2/apps/app_meetme.c

Modified: branches/1.2/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_meetme.c?view=diff&rev=55956&r1=55955&r2=55956
==============================================================================
--- branches/1.2/apps/app_meetme.c (original)
+++ branches/1.2/apps/app_meetme.c Wed Feb 21 14:32:16 2007
@@ -1547,7 +1547,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 
 					ast_log(LOG_WARNING, "Failed to read frame: %s\n", strerror(errno));



More information about the svn-commits mailing list