mirror of
https://github.com/matrix-construct/construct
synced 2024-09-12 03:29:15 +02:00
newconf: fix a warning
This commit is contained in:
parent
63c7a68e19
commit
ed45dfe676
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue