- move the increase of the use count to be after the possible failures
authorRussell Bryant <russell@russellbryant.com>
Thu, 22 Jun 2006 17:10:16 +0000 (17:10 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 22 Jun 2006 17:10:16 +0000 (17:10 +0000)
commit5941d4d81924f9d8e847470693e8e4ebca8139a2
tree0830d3ef6f219893d390617876e4e374670b2fc3
parent46018d50321331c5d094a002f5f40540c8e7f052
- move the increase of the use count to be after the possible failures
- if the pbx fails to start, set the owner channel of the pvt strucutre
  to be NULL
- return immediately if the pbx fails to start so the loop to set all of
  the variables from the "setvar" options aren't set as a bunch of global
  variables instead

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c