summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-23 14:21:33 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-23 14:21:33 +0100
commit5d58774813d4ecd4fc9f8230f8d5446457eb2ed5 (patch)
tree5d2f549ccdf563bc4e9238a56d58a363284ab02f /runtime
parentf8dee56243d7378864fdcdcc21262fc563639827 (diff)
downloadrsyslog-5d58774813d4ecd4fc9f8230f8d5446457eb2ed5.tar.gz
rsyslog-5d58774813d4ecd4fc9f8230f8d5446457eb2ed5.tar.xz
rsyslog-5d58774813d4ecd4fc9f8230f8d5446457eb2ed5.zip
streamline dynafile cache entry deletion a bit
The old code looks a bit "strange", though not necessarily incorrect. The new code looks correct and is probably less irritating during bug hunting.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index bfeecee5..e8805a40 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -722,7 +722,7 @@ CODESTARTobjDestruct(strm)
free(pThis->pZipBuf);
free(pThis->pszCurrFName);
free(pThis->pszFName);
-
+ pThis->bStopWriter = 2; /* RG: use as flag for destruction */
ENDobjDestruct(strm)