Skinny cleanup (mwi_event_cb).
authorDamien Wedhorn <voip@facts.com.au>
Thu, 7 Jun 2012 21:44:15 +0000 (21:44 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Thu, 7 Jun 2012 21:44:15 +0000 (21:44 +0000)
commitd979399071f314f002f82556c7998a9e58c1ef3d
tree34989f96cc17d40ea466ba10a6037ab1e5dd28c4
parent0271734f2e7864aefebfd1f1b11b0d1aa0ad9109
Skinny cleanup (mwi_event_cb).

Original was testing for d->session, setting and testing again (all nested).

Removed duplicate testing and restructured function to test/return and then
the main code.

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