summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-11 19:38:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-11 19:38:09 +0000
commit366060a51de60c717886636d6ef646bf1959972c (patch)
tree37e79ebc787f6996ac9195c6c7f10cf3136d7793 /obj.h
parenta80f7776c543d80f773ea6149e73e008f7273186 (diff)
downloadrsyslog-366060a51de60c717886636d6ef646bf1959972c.tar.gz
rsyslog-366060a51de60c717886636d6ef646bf1959972c.tar.xz
rsyslog-366060a51de60c717886636d6ef646bf1959972c.zip
partial ability to read a disk queue back in (not completed, but would like
to save source for the weekend)
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/obj.h b/obj.h
index 43f531b0..776d2030 100644
--- a/obj.h
+++ b/obj.h
@@ -72,6 +72,7 @@
/* the next macro MUST be called in Constructors: */
#ifndef NDEBUG /* this means if debug... */
# define objConstructSetObjInfo(pThis) \
+ assert(pThis->pObjInfo == NULL); \
((obj_t*) (pThis))->pObjInfo = pObjInfoOBJ; \
((obj_t*) (pThis))->iObjCooCKiE = 0xBADEFEE
#else