summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-05-03 11:10:43 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-05-03 11:10:43 +0200
commit438b274e959dd0e7426a13fabc3655ec7ebe2671 (patch)
tree05e6238e4c919189aa57dd8395b6af12b662f4b5 /tools/omfile.c
parente861bcaa445d016f4671a7955f58007ae6486133 (diff)
parentc0e5c49526e011fa16d757f61ca9dd817ff35903 (diff)
downloadrsyslog-438b274e959dd0e7426a13fabc3655ec7ebe2671.tar.gz
rsyslog-438b274e959dd0e7426a13fabc3655ec7ebe2671.tar.bz2
rsyslog-438b274e959dd0e7426a13fabc3655ec7ebe2671.zip
Merge branch 'v7-stable'
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 46d882bf..ba9f7f70 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -1200,7 +1200,7 @@ CODESTARTnewActInst
// TODO: create unified code for this (legacy+v6 system)
/* we now allocate the cache table */
CHKmalloc(pData->dynCache = (dynaFileCacheEntry**)
- calloc(cs.iDynaFileCacheSize, sizeof(dynaFileCacheEntry*)));
+ calloc(pData->iDynaFileCacheSize, sizeof(dynaFileCacheEntry*)));
pData->iCurrElt = -1; /* no current element */
}
// TODO: add pData->iSizeLimit = 0; /* default value, use outchannels to configure! */