summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-05-07 14:20:07 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-05-07 14:20:07 +0200
commit9ed218dc2ce9826e60d345482a5cdaabd25f4163 (patch)
tree430cd7b85c1a01c809eb0f61a5ba7d5ef9b5c3a1 /tools/omfile.c
parent7f846c53d6519476b6118282ba6b3bad625e43a3 (diff)
parent40254dcc8cf3d9ab17f30f417a95709cbf9204bf (diff)
downloadrsyslog-9ed218dc2ce9826e60d345482a5cdaabd25f4163.tar.gz
rsyslog-9ed218dc2ce9826e60d345482a5cdaabd25f4163.tar.bz2
rsyslog-9ed218dc2ce9826e60d345482a5cdaabd25f4163.zip
Merge branch 'master' into master-tcp-compress-stream
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! */