newconf: fix a warning

This commit is contained in:
Elizabeth Jennifer Myers 2011-01-23 16:56:36 -05:00
parent fd999fad3a
commit 6a00233824
1 changed files with 1 additions and 1 deletions

View File

@ -1944,7 +1944,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, /* if it takes one thing, make sure they only passed one thing,
and handle as needed. */ 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 conf_report_error
("Option %s::%s does not take a list of values.", tc->tc_name, item); ("Option %s::%s does not take a list of values.", tc->tc_name, item);