[asterisk-commits] kmoore: branch 13 r420803 - in /branches/13: ./ res/res_stasis.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 11 13:46:12 CDT 2014


Author: kmoore
Date: Mon Aug 11 13:46:09 2014
New Revision: 420803

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420803
Log:
Stasis: Use the correct return value

Return the correct value instead of always returning 0 when setting
internal status on unreal channels.

Reported by: Richard Mudgett
........

Merged revisions 420802 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/res/res_stasis.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_stasis.c?view=diff&rev=420803&r1=420802&r2=420803
==============================================================================
--- branches/13/res/res_stasis.c (original)
+++ branches/13/res/res_stasis.c Mon Aug 11 13:46:09 2014
@@ -1940,7 +1940,7 @@
 	}
 	ao2_unlock(unreal_pvt);
 	ao2_ref(unreal_pvt, -1);
-	return 0;
+	return res;
 }
 
 int stasis_app_channel_set_internal(struct ast_channel *chan)




More information about the asterisk-commits mailing list