|
|
|
@ -902,8 +902,9 @@ static gboolean core_option_etag_use_parse(liServer *srv, liPlugin *p, size_t nd
|
|
|
|
|
/* Need manual type check, as resulting option type is number */
|
|
|
|
|
if (val->type != LI_VALUE_LIST) {
|
|
|
|
|
ERROR(srv, "etag.use option expects a list of strings, parameter is of type %s", li_value_type_string(val->type));
|
|
|
|
|
return FALSE;
|
|
|
|
|
}
|
|
|
|
|
arr = val->data.list;
|
|
|
|
|
arr = val->data.list;
|
|
|
|
|
for (guint i = 0; i < arr->len; i++) {
|
|
|
|
|
liValue *v = g_array_index(arr, liValue*, i);
|
|
|
|
|
if (v->type != LI_VALUE_STRING) {
|
|
|
|
|