summaryrefslogtreecommitdiffstats
path: root/plugins/imfile/imfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-15 11:19:22 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-15 11:19:22 +0200
commit3806643baa9fe0d50fb36080e4ab3a078b8a5952 (patch)
tree0b84bbf8bf69aede6481b04799f93997c90995a5 /plugins/imfile/imfile.c
parent1577b76e37eff9aa1dc542390223ac42539fbbbf (diff)
downloadrsyslog-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.c2
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