Files
asterisk/main
Steve Murphy 161b4abd79 Hopefully, this will resolve the issues that russellb had with this log_show_lock().
I gathered the code that filled the string, and put it in a different func which
I cryptically call "append_lock_information()".
Now, both log_show_lock(), and handle_show_locks() both call this code to do
the work. Tested, seems to work fine. 
Also, log_show_lock was modified to use the ast_str stuff, along with checking
for successful ast_str creation, and freeing the ast_str obj when finished.
A break was inserted to terminate the search for the lock; we should never
see it twice.

An example usage in chan_sip.c was created as a comment, for instructional
purposes.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 14:38:46 +00:00
..
2008-01-22 08:58:46 +00:00
2008-03-04 23:04:29 +00:00
2008-04-21 21:13:02 +00:00
2008-04-21 21:13:02 +00:00
2008-04-21 21:13:02 +00:00
2008-04-21 21:13:02 +00:00
2008-04-21 21:13:02 +00:00
2008-03-04 23:04:29 +00:00
2007-12-11 22:20:22 +00:00
2008-01-10 00:12:35 +00:00
2008-03-20 18:01:36 +00:00
2008-03-04 23:04:29 +00:00
2008-04-21 23:42:45 +00:00
2008-03-04 23:04:29 +00:00
2008-03-04 23:04:29 +00:00
2007-12-27 20:11:20 +00:00
2008-04-15 19:59:50 +00:00
2008-03-04 23:04:29 +00:00
2008-03-04 23:04:29 +00:00
2007-11-21 00:23:49 +00:00
2007-12-14 14:48:38 +00:00
2008-03-04 23:04:29 +00:00
2008-03-04 23:04:29 +00:00
2008-03-04 23:04:29 +00:00