summaryrefslogtreecommitdiff
path: root/daemon/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/config.c')
-rw-r--r--daemon/config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon/config.c b/daemon/config.c
index 70075ee..55ee597 100644
--- a/daemon/config.c
+++ b/daemon/config.c
@@ -227,8 +227,9 @@ parse_query (rb_item *item, char *query, config_ctx *ctx)
asn_oid2str (&item->query_oid));
item->query_match = value;
- item->query_last = 0;
- item->query_value = 0;
+ memset (&item->query_last, 0, sizeof (item->query_last));
+ item->query_matched = 0;
+ item->query_searched = 0;
}
static rb_item*