Addition of the module utilities functions
This commit is contained in:
@ -388,7 +388,7 @@ int error_count = 0;
|
||||
obj->object)));
|
||||
error_count++;
|
||||
}
|
||||
if (obj->element)
|
||||
if (obj->element && options)
|
||||
{
|
||||
char *s = strtok(options, ",");
|
||||
while (s)
|
||||
@ -397,6 +397,22 @@ int error_count = 0;
|
||||
s = strtok(NULL, ",");
|
||||
}
|
||||
}
|
||||
if (obj->element)
|
||||
{
|
||||
CONFIG_PARAMETER *params = obj->parameters;
|
||||
while (params)
|
||||
{
|
||||
if (strcmp(params->name, "module")
|
||||
&& strcmp(params->name,
|
||||
"options"))
|
||||
{
|
||||
filterAddParameter(obj->element,
|
||||
params->name,
|
||||
params->value);
|
||||
}
|
||||
params = params->next;
|
||||
}
|
||||
}
|
||||
}
|
||||
obj = obj->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user