res_parking: Minor tweaks.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 1 Apr 2014 22:42:23 +0000 (22:42 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 1 Apr 2014 22:42:23 +0000 (22:42 +0000)
commitc704795dcbc5caa5676a1685d6a5996e92875ae9
tree92a0cad1d6f6d363f7e659c0b33bdf7e49f9ffe1
parent7542361f4a3ae7d91fe7f979465033e1de6ed390
res_parking: Minor tweaks.

* Use ast_bridge_channel_lock()/ast_bridge_channel_unlock() instead of
ao2_lock()/ao2_unlock() for struct ast_bridge_channel variables.

* Use ast_copy_string() instead of inlining it.

* Remove an already done TODO comment.

* Some whitespace tweaks.
........

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

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