summaryrefslogtreecommitdiffstats
path: root/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-27 10:49:43 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-27 10:49:43 +0000
commiteb006d74dd8bbadbd7a551e732e373e7cf3ad9c9 (patch)
treed796696a0edac5701ca9726ee5f564fc4e405410 /queue.c
parent327467c6f685d25621bb33bc3ab746800ba008d2 (diff)
downloadrsyslog-eb006d74dd8bbadbd7a551e732e373e7cf3ad9c9.tar.gz
rsyslog-eb006d74dd8bbadbd7a551e732e373e7cf3ad9c9.tar.xz
rsyslog-eb006d74dd8bbadbd7a551e732e373e7cf3ad9c9.zip
bugfix: queue disk file were not properly persisted when immediately after
closing an output file rsyslog was stopped or huped (the new output file open must NOT have happend at that point) - this lead to a sparse and invalid queue file which could cause several problems to the engine (unpredictable results). This situation should have happened only in very rare cases. tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=40
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index c54d3991..28dd1f33 100644
--- a/queue.c
+++ b/queue.c
@@ -1576,7 +1576,6 @@ queueRegOnWrkrShutdown(queue_t *pThis)
wtpAdviseMaxWorkers(pThis->pqParent->pWtpDA, 1); /* reactivate DA worker (always 1) */
}
-finalize_it:
RETiRet;
}