diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 11:19:22 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 11:19:22 +0200 |
commit | 3806643baa9fe0d50fb36080e4ab3a078b8a5952 (patch) | |
tree | 0b84bbf8bf69aede6481b04799f93997c90995a5 /plugins/imfile/imfile.c | |
parent | 1577b76e37eff9aa1dc542390223ac42539fbbbf (diff) | |
download | rsyslog-3806643baa9fe0d50fb36080e4ab3a078b8a5952.tar.gz rsyslog-3806643baa9fe0d50fb36080e4ab3a078b8a5952.tar.bz2 rsyslog-3806643baa9fe0d50fb36080e4ab3a078b8a5952.zip |
ratelimiter: enable thread-safe mode & (related) API changes
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r-- | plugins/imfile/imfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index d6e6ad0e..453b6b05 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -306,7 +306,7 @@ static rsRetVal pollFile(fileInfo_t *pThis, int *pbHadFileData) finalize_it: if(pThis->multiSub.nElem > 0) { /* submit everything that was not yet submitted */ - CHKiRet(multiSubmitMsg2(&pThis->multiSub, NULL)); + CHKiRet(multiSubmitMsg(&pThis->multiSub)); } ; /*EMPTY STATEMENT - needed to keep compiler happy - see below! */ /* Note: the problem above is that pthread:cleanup_pop() is a macro which |