diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-19 15:52:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-19 15:52:53 +0200 |
commit | 13ca93c27aeabbb3e1e217c05b5aa13e00be2475 (patch) | |
tree | 28e225764a3aafbbd4be821f92950799791d6680 | |
parent | 244ae5837c5423bb738d21c67e73ca6efe34c7a9 (diff) | |
download | rsyslog-13ca93c27aeabbb3e1e217c05b5aa13e00be2475.tar.gz rsyslog-13ca93c27aeabbb3e1e217c05b5aa13e00be2475.tar.xz rsyslog-13ca93c27aeabbb3e1e217c05b5aa13e00be2475.zip |
my imfile cleanup was a bit too agressive ;)
... so I moved the one line that some platforms need back in.
-rw-r--r-- | plugins/imfile/imfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 955d5b14..8a10e26f 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -213,6 +213,7 @@ static rsRetVal pollFile(fileInfo_t *pThis, int *pbHadFileData) } finalize_it: + ; /*EMPTY STATEMENT - needed to keep compiler happy - see below! */ /* Note: the problem above is that pthread:cleanup_pop() is a macro which * evaluates to something like "} while(0);". So the code would become * "finalize_it: }", that is a label without a statement. The C standard does |