The comparisons always used the created event's source filename rather than
e.g. event_want_debug() function's source filename.
return !((source_linenum != node->field.value.intmax &&
node->field.value.intmax != 0) ||
source_filename == NULL ||
- strcmp(event->source_filename, node->field.value.str) != 0);
+ strcmp(source_filename, node->field.value.str) != 0);
case EVENT_FILTER_NODE_TYPE_EVENT_CATEGORY:
return event_has_category(event, node, log_type);
case EVENT_FILTER_NODE_TYPE_EVENT_FIELD_EXACT: