From 798df5b1ab6b497d8d9d6d51764f5aef4eb2d567 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 1 Apr 2000 09:15:55 +0000 Subject: When processing ACCEPT/REJECT carrying no message, don't print trailing newline. I hope the fix is correct, but please check. --- filter/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/filter.c b/filter/filter.c index cc1637eb..af7ee53f 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -281,7 +281,7 @@ interpret(struct f_inst *what) break; case P('p',','): ONEARG; - if (what->a2.i != F_NONL) + if (what->a2.i == F_NOP || (what->a2.i != F_NONL && what->a1.p)) debug( "\n" ); switch (what->a2.i) { -- cgit v1.2.3