diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 18:11:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 18:11:51 +0200 |
commit | 048a6b9573aec760129bb1332610b323c7cd8cd7 (patch) | |
tree | 49e9909b14deeb0f84c95ef54044fa819e696d98 /runtime/ratelimit.c | |
parent | 68414e7815813cf7a433b9b8a8cfbb28ec27c637 (diff) | |
download | rsyslog-048a6b9573aec760129bb1332610b323c7cd8cd7.tar.gz rsyslog-048a6b9573aec760129bb1332610b323c7cd8cd7.tar.bz2 rsyslog-048a6b9573aec760129bb1332610b323c7cd8cd7.zip |
fix: we need to use loadConf to access global settings
Hint: globals need to be re-done...
Diffstat (limited to 'runtime/ratelimit.c')
-rw-r--r-- | runtime/ratelimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ratelimit.c b/runtime/ratelimit.c index 22059ac8..ccfcfdd2 100644 --- a/runtime/ratelimit.c +++ b/runtime/ratelimit.c @@ -282,7 +282,7 @@ ratelimitNew(ratelimit_t **ppThis, char *modname, char *dynname) namebuf[sizeof(namebuf)-1] = '\0'; /* to be on safe side */ pThis->name = strdup(namebuf); } - pThis->bReduceRepeatMsgs = runConf->globals.bReduceRepeatMsgs; + pThis->bReduceRepeatMsgs = loadConf->globals.bReduceRepeatMsgs; *ppThis = pThis; finalize_it: RETiRet; |