summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-08-01 10:32:09 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-01 10:32:09 +0200
commit5d2a114743a06f1611980ae75d704b2af5ab97ed (patch)
treee13c909a2385e9c39fec6673a18a4cf8a740bc9b /runtime
parent4d01df57c2f378ceda3bcc400a9df5e50a0c007b (diff)
downloadrsyslog-5d2a114743a06f1611980ae75d704b2af5ab97ed.tar.gz
rsyslog-5d2a114743a06f1611980ae75d704b2af5ab97ed.tar.xz
rsyslog-5d2a114743a06f1611980ae75d704b2af5ab97ed.zip
undo last queue patch - caused a regression
some more elaborate patch is needed and will be provided
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index 6a1cf446..280ebd94 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -707,7 +707,7 @@ static rsRetVal qConstructDisk(qqueue_t *pThis)
CHKiRet(strm.SetbSync(pThis->tVars.disk.pWrite, pThis->bSyncQueueFiles));
CHKiRet(strm.SetDir(pThis->tVars.disk.pWrite, glbl.GetWorkDir(), strlen((char*)glbl.GetWorkDir())));
CHKiRet(strm.SetiMaxFiles(pThis->tVars.disk.pWrite, 10000000));
- CHKiRet(strm.SettOperationsMode(pThis->tVars.disk.pWrite, STREAMMODE_WRITE_TRUNC));
+ CHKiRet(strm.SettOperationsMode(pThis->tVars.disk.pWrite, STREAMMODE_WRITE));
CHKiRet(strm.SetsType(pThis->tVars.disk.pWrite, STREAMTYPE_FILE_CIRCULAR));
CHKiRet(strm.ConstructFinalize(pThis->tVars.disk.pWrite));