summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-16 07:21:22 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-16 07:21:22 +0000
commit63e43e656a9f900cbc58494b2c935b677ef76b94 (patch)
tree143172910bddcb3ffa40ea17258eddabd7c7866b /rsyslog.h
parent5e649ae5d06629585f3fd1794fc3ffec1c505e44 (diff)
downloadrsyslog-63e43e656a9f900cbc58494b2c935b677ef76b94.tar.gz
rsyslog-63e43e656a9f900cbc58494b2c935b677ef76b94.tar.xz
rsyslog-63e43e656a9f900cbc58494b2c935b677ef76b94.zip
applied patch by mildew@gmail.com to support IPv6 in $AllowedSenders
Diffstat (limited to 'rsyslog.h')
-rw-r--r--rsyslog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rsyslog.h b/rsyslog.h
index 2c3449ab..f11ce91d 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -90,6 +90,8 @@ typedef enum rsObjectID rsObjID;
#define RSFREEOBJ(x) {(x)->OID = OIDrsFreed; free(x);}
#endif
+
+#define free(ptr) free(ptr); (ptr) = NULL;
/* get rid of the unhandy "unsigned char"
*/
typedef unsigned char uchar;