From ed45dfe676a48d4e7d956d7eda48f6e8a69caf88 Mon Sep 17 00:00:00 2001 From: Elizabeth Jennifer Myers Date: Sun, 23 Jan 2011 16:56:36 -0500 Subject: [PATCH] newconf: fix a warning --- src/newconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newconf.c b/src/newconf.c index ac83e42f..ee9c946c 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -1877,7 +1877,7 @@ conf_call_set(struct TopConf *tc, char *item, conf_parm_t * value, int type) /* if it takes one thing, make sure they only passed one thing, and handle as needed. */ - if(value->type & CF_FLIST && !cf->cf_type & CF_FLIST) + if((value->v.list->type & CF_FLIST) && !(cf->cf_type & CF_FLIST)) { conf_report_error ("Option %s::%s does not take a list of values.", tc->tc_name, item);