When processing ACCEPT/REJECT carrying no message, don't print

trailing newline.

I hope the fix is correct, but please check.
This commit is contained in:
Martin Mares 2000-04-01 09:15:55 +00:00
parent b157361533
commit 798df5b1ab

View file

@ -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) {