]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis_channels.c: Misc cleanup.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 28 Dec 2017 19:27:43 +0000 (13:27 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 28 Dec 2017 19:37:31 +0000 (13:37 -0600)
commit751fd9b6283cdeeac4f15e2bae0e9ea650cb9291
treeb824e72f24e1a662ba5bd705c2887eda2293d991
parente4d536b64d00df8fe29e3e7854ee1decbe1b5926
stasis_channels.c: Misc cleanup.

* Use current OBJ_SEARCH_xxx defines instead of the deprecated versions.

* Fix hash_cb and cmp_cb container functions to correctly use the
OBJ_SEARCH_xxx values.

* Remove incorrect usage of CMP_STOP.  Most uses in the system have no
effect.  This allows the collapse of channel_role_single_cmp_cb() and
channel_role_multi_cmp_cb() into channel_role_cmp_cb().

* Remove unnecessary usage of RAII_VAR().

Change-Id: I02c405518cab22aa2a082b61e2353bf7cd629a70
main/stasis_channels.c