diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/f-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/f-util.c b/filter/f-util.c index 9f2eb6b3..ec86a4b2 100644 --- a/filter/f-util.c +++ b/filter/f-util.c @@ -61,6 +61,8 @@ filter_name(struct filter *filter) return "ACCEPT"; else if (filter == FILTER_REJECT) return "REJECT"; + else if (!filter->name) + return "(unnamed)"; else return filter->name; } |