summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/data.c b/filter/data.c
index 40220255..9547a4c8 100644
--- a/filter/data.c
+++ b/filter/data.c
@@ -230,6 +230,7 @@ static int
pm_same(const struct f_path_mask *m1, const struct f_path_mask *m2)
{
if (m1->len != m2->len)
+ return 0;
for (uint i=0; i<m1->len; i++)
if (!pmi_same(&(m1->item[i]), &(m2->item[i])))