summaryrefslogtreecommitdiffstats
path: root/runtime/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-05-12 15:04:50 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-05-12 15:04:50 +0200
commit2b56e6051d4d2bb03886dbad47458d1843aa9ebe (patch)
tree65724ba9fced94d42c962c53a697f568552f9eed /runtime/modules.c
parentb4daf5a03d57bbf4a9254dcff73e0b95f2688081 (diff)
downloadrsyslog-2b56e6051d4d2bb03886dbad47458d1843aa9ebe.tar.gz
rsyslog-2b56e6051d4d2bb03886dbad47458d1843aa9ebe.tar.xz
rsyslog-2b56e6051d4d2bb03886dbad47458d1843aa9ebe.zip
regression fix: activation for legacy modules handled incorrectly
Diffstat (limited to 'runtime/modules.c')
-rw-r--r--runtime/modules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/modules.c b/runtime/modules.c
index 4cd1ef4f..ad93ff38 100644
--- a/runtime/modules.c
+++ b/runtime/modules.c
@@ -368,6 +368,7 @@ addModToCnfList(modInfo_t *pThis)
*/
CHKmalloc(pNew = MALLOC(sizeof(cfgmodules_etry_t)));
+ pNew->canActivate = 1;
pNew->next = NULL;
pNew->pMod = pThis;