summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg2010-07-26 08:44:07 +0200
committerAndreas Eversberg2010-07-26 08:44:07 +0200
commitdb5c235146985544e856bb1106a4b78507c892cf (patch)
tree0736d409cf84ae8db3e7f44f7c2501bd720d276f
parentHi all, (diff)
downloadlcr-db5c235146985544e856bb1106a4b78507c892cf.tar.gz
lcr-db5c235146985544e856bb1106a4b78507c892cf.tar.xz
lcr-db5c235146985544e856bb1106a4b78507c892cf.zip
Removed ast_log again for testing. Seems that it also causes dead-locks when it is used this way.
-rw-r--r--chan_lcr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index ebaba2a..edf38a7 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -246,7 +246,8 @@ void chan_lcr_log(int type, const char *file, int line, const char *function, st
strncpy(ast_text, ast->name, sizeof(ast_text)-1);
ast_text[sizeof(ast_text)-1] = '\0';
- ast_log(type, file, line, function, "[call=%s ast=%s] %s", call_text, ast_text, buffer);
+// ast_log(type, file, line, function, "[call=%s ast=%s] %s", call_text, ast_text, buffer);
+ printf("[call=%s ast=%s] %s", call_text, ast_text, buffer);
ast_mutex_unlock(&log_lock);
}