summaryrefslogtreecommitdiffstats
path: root/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-04 16:52:56 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-04 16:52:56 +0000
commite41c0854dac685047dba1107b097bf674e740131 (patch)
treeb0257b48b40e707b65a1c3ec02de42d95928b45d /queue.c
parent3b8457d1da7f81f9d5c48ff9f1d84cb838942803 (diff)
downloadrsyslog-e41c0854dac685047dba1107b097bf674e740131.tar.gz
rsyslog-e41c0854dac685047dba1107b097bf674e740131.tar.xz
rsyslog-e41c0854dac685047dba1107b097bf674e740131.zip
moved message destruction back to consumer - the consume should decide what
to do with the object. It may pass it on to someone else. So this would have creatd some headache in the future (maybe...).
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/queue.c b/queue.c
index 19e92e9c..8ef20371 100644
--- a/queue.c
+++ b/queue.c
@@ -343,11 +343,6 @@ queueWorker(void *arg)
if(iRetLocal != RS_RET_OK)
dbgprintf("Queue 0x%lx: Consumer returned iRet %d\n",
(unsigned long) pThis, iRetLocal);
-dbgprintf("QUEUE: consumer done\n");
- iRetLocal = objDestruct(pUsr);
- if(iRetLocal != RS_RET_OK)
- dbgprintf("Queue 0x%lx: Destructor returned iRet %d\n",
- (unsigned long) pThis, iRetLocal);
} else {
dbgprintf("Queue 0x%lx: error %d dequeueing element - ignoring, but strange things "
"may happen\n", (unsigned long) pThis, iRet);