summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-22 10:49:32 +0000
committerMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-22 10:49:32 +0000
commitfb13c3a39850ba28bf28ae8aead9c80c180fc13f (patch)
tree53ac7c98ac9be1a540e70d7c584642aa0607b2fd /rsyslog.h
parentd1a76e1bdfd1c61d0244a3860cf05211f2458ca2 (diff)
downloadrsyslog-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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/rsyslog.h b/rsyslog.h
index bc705819..33c14ae4 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -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