From: Pablo Neira Ayuso Date: Thu, 30 May 2019 10:49:30 +0000 (+0200) Subject: erec: remove double \n on error when internal_netlink is used X-Git-Tag: v0.9.1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20d0d32a0576b0328d92873d6a2c6be5c1d293fa;p=thirdparty%2Fnftables.git erec: remove double \n on error when internal_netlink is used Remove double empty line linebreak when printing internal errors. Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/erec.c b/src/erec.c index 617c04ade..cf543a980 100644 --- a/src/erec.c +++ b/src/erec.c @@ -161,7 +161,6 @@ void erec_print(struct output_ctx *octx, const struct error_record *erec, loc = &erec->locations[l]; netlink_dump_expr(loc->nle, f, debug_mask); } - fprintf(f, "\n\n"); return; }