it duplicates a lot of code. I will leave it to murf to clean up.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114231
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return "UNKNOWN";
}
+/*! \todo this function is very broken and duplicates a lot of code ... */
void log_show_lock(void *this_lock_addr)
{
struct thr_lock_info *lock_info;
- struct ast_str *str;
+ struct ast_str *str = NULL;
pthread_mutex_lock(&lock_infos_lock.mutex);
AST_LIST_TRAVERSE(&lock_infos, lock_info, entry) {