Commit 49cb1bb3 authored by Niels Möller's avatar Niels Möller
Browse files

(parse_groups): Made group name optional.

This change from 2005-09-06 was appearantly lost in the merge.

Rev: src/parse_config.c:1.9
parent 8cd0bc7c
......@@ -179,7 +179,10 @@ parse_groups(struct config_tokenizer *self)
groups = n;
}
/* Name is optional */
groups->name = config_tokenizer_get_string(self);
if (self->type == TOK_STRING)
groups->name = config_tokenizer_get_string(self);
else
groups->name = NULL;
groups->settings = NULL;
groups->hosts = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment