summaryrefslogtreecommitdiffstats
path: root/runtime/debug.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-22 12:43:19 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-22 12:43:19 +0200
commitbe0a6eb45830f486ea2ac755ee11f7503454aa08 (patch)
tree41cd388f3bdf33bfbddbda20bd72e54ef95657a4 /runtime/debug.c
parent95fefbc12a71c26e02bb1de8628b3f70a6856b08 (diff)
parent6bfc397b09eab1269a718f1bf661bb31cadd626b (diff)
downloadrsyslog-be0a6eb45830f486ea2ac755ee11f7503454aa08.tar.gz
rsyslog-be0a6eb45830f486ea2ac755ee11f7503454aa08.tar.bz2
rsyslog-be0a6eb45830f486ea2ac755ee11f7503454aa08.zip
Merge branch 'v6-stable' into v7-stable
Conflicts: configure.ac doc/manual.html template.c
Diffstat (limited to 'runtime/debug.c')
-rw-r--r--runtime/debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/debug.c b/runtime/debug.c
index edc4a255..307a8bb8 100644
--- a/runtime/debug.c
+++ b/runtime/debug.c
@@ -927,12 +927,12 @@ dbgprint(obj_t *pObj, char *pszMsg, size_t lenMsg)
pszObjName = obj.GetName(pObj);
}
-// pthread_mutex_lock(&mutdbgprint);
-// pthread_cleanup_push(dbgMutexCancelCleanupHdlr, &mutdbgprint);
+ pthread_mutex_lock(&mutdbgprint);
+ pthread_cleanup_push(dbgMutexCancelCleanupHdlr, &mutdbgprint);
do_dbgprint(pszObjName, pszMsg, lenMsg);
-// pthread_cleanup_pop(1);
+ pthread_cleanup_pop(1);
}
#pragma GCC diagnostic warning "-Wempty-body"