diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-01 13:59:48 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-01 13:59:48 +0000 |
commit | 255895a58b3f2a54fecf971da700caf265b4e1f0 (patch) | |
tree | 6f8f7a3d6249d667c51c83b8dbe582fb1ba71010 /plugins/imuxsock/imuxsock.c | |
parent | 9696cdef34f5d033564138fb9d4afb87daa6b1be (diff) | |
download | rsyslog-255895a58b3f2a54fecf971da700caf265b4e1f0.tar.gz rsyslog-255895a58b3f2a54fecf971da700caf265b4e1f0.tar.xz rsyslog-255895a58b3f2a54fecf971da700caf265b4e1f0.zip |
omhdfs: more improvements
finally this looks almost production ready for files where no
directory path needs to be created
Diffstat (limited to 'plugins/imuxsock/imuxsock.c')
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 24bcebb7..ad2d61c8 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -278,7 +278,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"); @@ -755,7 +755,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"); |