diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 17:18:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 17:18:51 +0200 |
commit | 26227091faac8c3cc9bc282eb4e4fc408635f8d2 (patch) | |
tree | 72670464c51c036d35bebf0a3d273a9f43f3ba29 /runtime/stream.h | |
parent | c444f964490ed941d734769e7bca21a92db998cd (diff) | |
download | rsyslog-26227091faac8c3cc9bc282eb4e4fc408635f8d2.tar.gz rsyslog-26227091faac8c3cc9bc282eb4e4fc408635f8d2.tar.xz rsyslog-26227091faac8c3cc9bc282eb4e4fc408635f8d2.zip |
fixed a bug introduced today that lead to an abort in queue disk mode
Diffstat (limited to 'runtime/stream.h')
-rw-r--r-- | runtime/stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stream.h b/runtime/stream.h index 2c1ac255..1efd29b5 100644 --- a/runtime/stream.h +++ b/runtime/stream.h @@ -118,6 +118,7 @@ typedef struct strm_s { size_t iBufPtr; /* pointer into current buffer */ int iUngetC; /* char set via UngetChar() call or -1 if none set */ bool bInRecord; /* if 1, indicates that we are currently writing a not-yet complete record */ + bool bInClose; /* used to break "deadly close loops", tells us we are already inside a close */ int iZipLevel; /* zip level (0..9). If 0, zip is completely disabled */ Bytef *pZipBuf; /* support for async flush procesing */ |