]> git.ipfire.org Git - thirdparty/asterisk.git/commit
logger: Simplify ast_callid handling code. 42/3942/1
authorCorey Farrell <git@cfware.com>
Tue, 16 Aug 2016 20:21:33 +0000 (16:21 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 20 Sep 2016 17:24:36 +0000 (13:24 -0400)
commit1a7d39818f4837de81ab0b3b587e5bc1fb61816d
tree35911baeb2f979f82b4446b09ab7ee105e8acefa
parent58f41ebf934e3f7eb7d810ea34bb778c68e2861d
logger: Simplify ast_callid handling code.

Routines responsible for managing ast_callid's are overly complicated.
This is left-over code from when ast_callid was an AO2 object.  Now that
it is an integer the code can be reduced.

ast_callid handler code no longer prints it's own error message upon failure
to allocate threadstorage as ast_calloc would have already printed a
message.  Debug messages that were printed when TEST_FRAMEWORK was
enabled have been also been removed.

Change-Id: I65a768a78dc6cf3cfa071e97f33ce3dce280258e
main/logger.c