- os_strdup(node[i]->content,Config->lists[lists_size -2]);
- Config->lists[lists_size -1] = NULL;
-
- }
- else if(strcmp(node[i]->element, xml_rules_decoders_dir) == 0)
- {
-
- if(node[i]->attributes && node[i]->values)
- {
- while(node[i]->attributes[att_count])
- {
- if((strcasecmp(node[i]->attributes[att_count], "pattern") == 0))
- {
- if(node[i]->values[att_count])
- {
- if(!OSRegex_Compile(node[i]->values[att_count], ®ex, 0))
- {
- merror(CONFIG_ERROR, ARGV0, "pattern in decoders_dir does not compile");
- merror("%s: ERROR: Regex would not compile", ARGV0);
- return(-1);
+ os_strdup(node[i]->content, Config->lists[lists_size - 2]);
+ Config->lists[lists_size - 1] = NULL;
+
+ } else if (strcmp(node[i]->element, xml_rules_decoders_dir) == 0) {
+
+ if (node[i]->attributes && node[i]->values) {
+ while (node[i]->attributes[att_count]) {
+ if ((strcasecmp(node[i]->attributes[att_count], "pattern") == 0)) {
+ if (node[i]->values[att_count]) {
+ if (!OSRegex_Compile(node[i]->values[att_count], ®ex, 0)) {
+ merror(CONFIG_ERROR, __local_name, "pattern in decoders_dir does not compile");
+ merror("%s: ERROR: Regex would not compile", __local_name);
+ return (-1);