summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2014-01-02 15:10:18 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2014-01-02 15:10:18 +0100
commitc4e7e2a985fdab5f469d658e2eab801aa2b99122 (patch)
tree86b4babca93d615f045fddefe1a2a03a863d8134 /src/lib
parent1087bfbfdd4fe95131e2e05ba5df376d72c3c51e (diff)
Fix rule name for deletion of logs, to be compatible with smman 1.0.0.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rules/rules_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rules/rules_load.c b/src/lib/rules/rules_load.c
index 8584fe4..eb36ad6 100644
--- a/src/lib/rules/rules_load.c
+++ b/src/lib/rules/rules_load.c
@@ -75,7 +75,7 @@ rules_load_rule(void *data,
75 rule->spec.source_host = strdup(value); 75 rule->spec.source_host = strdup(value);
76 else if (!strcmp(variable, "source_path")) 76 else if (!strcmp(variable, "source_path"))
77 rule->spec.source_path = strdup(value); 77 rule->spec.source_path = strdup(value);
78 else if (!strcmp(variable, "todel")) 78 else if (!strcmp(variable, "delete"))
79 rule->spec.todel = !!atoi(value); 79 rule->spec.todel = !!atoi(value);
80 80
81 else if (!strncmp(variable, "message", 7)) 81 else if (!strncmp(variable, "message", 7))