From: Holger Eitzenberger Date: Mon, 8 Sep 2014 14:30:48 +0000 (+0200) Subject: ipset: remove extran newline on debug output X-Git-Tag: v6.22~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30e0417c09f680f1b4e86fbceb085e4f86d30a63;p=thirdparty%2Fipset.git ipset: remove extran newline on debug output [ The following text is in the "utf-8" character set. ] [ Your display is set for the "ISO-8859-2" character set. ] [ Some characters may be displayed incorrectly. ] Signed-off-by: Holger Eitzenberger Signed-off-by: Jozsef Kadlecsik --- diff --git a/lib/session.c b/lib/session.c index c3921930..cbef0267 100644 --- a/lib/session.c +++ b/lib/session.c @@ -816,7 +816,7 @@ list_adt(struct ipset_session *session, struct nlattr *nla[]) safe_snprintf(session, ""); for (arg = type->args[IPSET_ADD]; arg != NULL && arg->opt; arg++) { - D("print arg opt %u %s\n", arg->opt, + D("print arg opt %u %s", arg->opt, ipset_data_test(data, arg->opt) ? "(yes)" : "(missing)"); if (!(arg->print && ipset_data_test(data, arg->opt))) continue;