diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-23 14:21:33 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-23 14:21:33 +0100 |
commit | 5d58774813d4ecd4fc9f8230f8d5446457eb2ed5 (patch) | |
tree | 5d2f549ccdf563bc4e9238a56d58a363284ab02f /runtime | |
parent | f8dee56243d7378864fdcdcc21262fc563639827 (diff) | |
download | rsyslog-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.c | 2 |
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) |