summaryrefslogtreecommitdiffstats
path: root/plugins/imuxsock/imuxsock.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-10-05 14:52:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-10-05 14:52:23 +0200
commit1dbb85d7ba2e135593944afdaaa69aeb4fd49302 (patch)
tree40d81f1a2a6bb211157add77d5bf36acfce78022 /plugins/imuxsock/imuxsock.c
parent6ea4a38079cb1508c103930e327fa92ada97176f (diff)
parenta627ac99ba2c3404ca926a19fb06cbd6f43b53c8 (diff)
downloadrsyslog-1dbb85d7ba2e135593944afdaaa69aeb4fd49302.tar.gz
rsyslog-1dbb85d7ba2e135593944afdaaa69aeb4fd49302.tar.xz
rsyslog-1dbb85d7ba2e135593944afdaaa69aeb4fd49302.zip
Merge branch 'v5-devel-hdfs' into v5-devel
Diffstat (limited to 'plugins/imuxsock/imuxsock.c')
-rw-r--r--plugins/imuxsock/imuxsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index 75a6b00b..41bff4f9 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -279,7 +279,7 @@ addLstnSocketName(void __attribute__((unused)) *pVal, uchar *pNewVal)
}
CHKiRet(prop.ConstructFinalize(listeners[nfd].hostName));
if(ratelimitInterval > 0) {
- if((listeners[nfd].ht = create_hashtable(1000, hash_from_key_fn, key_equals_fn)) == NULL) {
+ if((listeners[nfd].ht = create_hashtable(1000, hash_from_key_fn, key_equals_fn, NULL)) == NULL) {
/* in this case, we simply turn of rate-limiting */
dbgprintf("imuxsock: turning off rate limiting because we could not "
"create hash table\n");
@@ -749,7 +749,7 @@ CODESTARTwillRun
if(pLogSockName != NULL)
listeners[0].sockName = pLogSockName;
if(ratelimitIntervalSysSock > 0) {
- if((listeners[0].ht = create_hashtable(1000, hash_from_key_fn, key_equals_fn)) == NULL) {
+ if((listeners[0].ht = create_hashtable(1000, hash_from_key_fn, key_equals_fn, NULL)) == NULL) {
/* in this case, we simply turn of rate-limiting */
dbgprintf("imuxsock: turning off rate limiting because we could not "
"create hash table\n");