Stasis: Use the correct return value
authorKinsey Moore <kmoore@digium.com>
Mon, 11 Aug 2014 18:46:59 +0000 (18:46 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 11 Aug 2014 18:46:59 +0000 (18:46 +0000)
commit7a4691b4250efa1220cecb3e220324ed09d8f915
tree97b4763074f1aabd3e043ebbf1f10f86a6a708c7
parent6f735288b0d4cb6c0347873174a19e40c6e8a277
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
........

Merged revisions 420803 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_stasis.c