+2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
+
+ * include/asterisk/lock.h (__ast_pthread_mutex_lock): correct build with DETECT_DEADLOCKS defined (issue #5570)
+
2005-11-07 Russell Bryant <russell@digium.com>
* include/asterisk/app.h: Increment the arg_index in the options structure to fix applicaiton options that have arguments to them
__ast_mutex_logger("%s line %d (%s): Deadlock? waited %d sec for mutex '%s'?\n",
filename, lineno, func, (int)(current - seconds), mutex_name);
__ast_mutex_logger("%s line %d (%s): '%s' was locked here.\n",
- t->file, t->lineno, t->func, mutex_name);
+ t->file[t->reentrancy-1], t->lineno[t->reentrancy-1],
+ t->func[t->reentrancy-1], mutex_name);
}
usleep(200);
}