diff options
author | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-22 10:49:32 +0000 |
---|---|---|
committer | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-22 10:49:32 +0000 |
commit | fb13c3a39850ba28bf28ae8aead9c80c180fc13f (patch) | |
tree | 53ac7c98ac9be1a540e70d7c584642aa0607b2fd /rsyslog.h | |
parent | d1a76e1bdfd1c61d0244a3860cf05211f2458ca2 (diff) | |
download | rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.tar.gz rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.tar.xz rsyslog-fb13c3a39850ba28bf28ae8aead9c80c180fc13f.zip |
applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1
release
Diffstat (limited to 'rsyslog.h')
-rw-r--r-- | rsyslog.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -82,9 +82,11 @@ typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */ /* macro below is to be used if we need our own handling, eg for cleanup */ #define CHKiRet_Hdlr(code) if((iRet = code) != RS_RET_OK) #define DEFiRet rsRetVal iRet = RS_RET_OK -#define ABORT_FINALIZE(errCode) \ - iRet = errCode;\ - goto finalize_it; +#define ABORT_FINALIZE(errCode) \ + do { \ + iRet = errCode; \ + goto finalize_it; \ + } while (0) /** Object ID. These are for internal checking. Each * object is assigned a specific ID. This is contained in |