]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Misc minor items found in code.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 9 Aug 2011 22:12:59 +0000 (22:12 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 9 Aug 2011 22:12:59 +0000 (22:12 +0000)
commit42b5040b717104bb9e6fa0290ef80e4e829bcb01
tree94ee5f4130c085e7dd5ccc036ebd0e48f54b2097
parent8f37bc12c4a90b24f02c7efbc02b3d9bbaae99e6
Misc minor items found in code.

* Add some reentrancy protection in pbx.c when creating the contexts_table
hash table.

* Fix inverted test in chan_sip.c conditional code.

* Fix uninitialized variable and use of the wrong variable in chan_iax2.c.

* Fix test of return value in app_parkandannounce.c.  Explicitly testing
for -1 is bad if the function does not actually return that value when it
fails.

* Fixup some comments and add some curly braces in features.c.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@331248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_parkandannounce.c
channels/chan_iax2.c
channels/chan_sip.c
main/features.c
main/pbx.c