diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-13 15:47:41 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-13 15:47:41 +0000 |
commit | abdcea7d8f0eda058a6c6719cf24955878279d7c (patch) | |
tree | bab4f9dc61457f63e9a30516cf91eb8112fac1ef /rsyslog.h | |
parent | 366060a51de60c717886636d6ef646bf1959972c (diff) | |
download | rsyslog-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; \ |