From: Martin Mares Date: Tue, 25 Apr 2006 22:06:50 +0000 (+0200) Subject: CF_LOOKUP lists must end with NULL. X-Git-Tag: holmes-import~645^2~11^2~36 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7c259fa15698145418026027b5712baa12b3cd5c;p=libucw.git CF_LOOKUP lists must end with NULL. --- diff --git a/lib/ipaccess.c b/lib/ipaccess.c index f9cda623..910715e7 100644 --- a/lib/ipaccess.c +++ b/lib/ipaccess.c @@ -61,7 +61,7 @@ static struct cf_user_type addrmask_type = { struct cf_section ipaccess_cf = { CF_TYPE(struct ipaccess_entry), CF_ITEMS { - CF_LOOKUP("Mode", PTR_TO(struct ipaccess_entry, allow), ((char*[]) { "deny", "allow" })), + CF_LOOKUP("Mode", PTR_TO(struct ipaccess_entry, allow), ((char*[]) { "deny", "allow", NULL })), CF_USER("IP", PTR_TO(struct ipaccess_entry, addr), &addrmask_type), CF_END }