diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-01 09:15:55 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-01 09:15:55 +0000 |
commit | 798df5b1ab6b497d8d9d6d51764f5aef4eb2d567 (patch) | |
tree | 0cbacd038b2c85bb1b1a8e6782cb3fb4f8b34e6d | |
parent | b157361533412de2123787a412e6e463c0b2f13a (diff) |
When processing ACCEPT/REJECT carrying no message, don't print
trailing newline.
I hope the fix is correct, but please check.
-rw-r--r-- | filter/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |