summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-13 15:47:41 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-13 15:47:41 +0000
commitabdcea7d8f0eda058a6c6719cf24955878279d7c (patch)
treebab4f9dc61457f63e9a30516cf91eb8112fac1ef /rsyslog.h
parent366060a51de60c717886636d6ef646bf1959972c (diff)
downloadrsyslog-abdcea7d8f0eda058a6c6719cf24955878279d7c.tar.gz
rsyslog-abdcea7d8f0eda058a6c6719cf24955878279d7c.tar.xz
rsyslog-abdcea7d8f0eda058a6c6719cf24955878279d7c.zip
support for reading back persistet queue information completed
Diffstat (limited to 'rsyslog.h')
-rw-r--r--rsyslog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/rsyslog.h b/rsyslog.h
index 2937db88..1514cc3e 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -125,7 +125,11 @@ typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */
#define CHKiRet_Hdlr(code) if((iRet = code) != RS_RET_OK)
/* macro below is used in conjunction with CHKiRet_Hdlr, else use ABORT_FINALIZE */
#define FINALIZE goto finalize_it;
-#define DEFiRet rsRetVal iRet = RS_RET_OK
+#if 0 /* DEV debug: set to 1 to get a rough call trace -- rgerhards, 2008-01-13 */
+# define DEFiRet dbgprintf("Entering %s, line %d\n", __FILE__, __LINE__); rsRetVal iRet = RS_RET_OK
+#else
+# define DEFiRet rsRetVal iRet = RS_RET_OK
+#endif
#define ABORT_FINALIZE(errCode) \
do { \
iRet = errCode; \