summaryrefslogtreecommitdiff
path: root/src/apoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apoint.c')
-rw-r--r--src/apoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apoint.c b/src/apoint.c
index 9bdd575..3c32c04 100644
--- a/src/apoint.c
+++ b/src/apoint.c
@@ -198,6 +198,8 @@ struct apoint *apoint_scan(FILE * f, struct tm start, struct tm end,
if (filter) {
if (!(filter->type_mask & TYPE_MASK_APPT))
return NULL;
+ if (filter->regex && regexec(filter->regex, buf, 0, 0, 0))
+ return NULL;
if (filter->start_from >= 0 && tstart < filter->start_from)
return NULL;
if (filter->start_to >= 0 && tstart > filter->start_to)