[asterisk-commits] twilson: branch 1.4 r286222 - /branches/1.4/channels/chan_local.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 10 17:54:27 CDT 2010


Author: twilson
Date: Fri Sep 10 17:54:23 2010
New Revision: 286222

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=286222
Log:
Return -1 if chan_local doesn't support an option

Modified:
    branches/1.4/channels/chan_local.c

Modified: branches/1.4/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=286222&r1=286221&r2=286222
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Fri Sep 10 17:54:23 2010
@@ -134,7 +134,7 @@
 	ast_chan_write_info_t *write_info;
 
 	if (option != AST_OPTION_CHANNEL_WRITE) {
-		return 0;
+		return -1;
 	}
 
 	write_info = data;




More information about the asterisk-commits mailing list