diff mbox

[4/5] ipset: remove extran newline on debug output

Message ID 20140908143048.16930.51389.stgit@jonathan.eitzenberger.org
State Accepted
Delegated to: Jozsef Kadlecsik
Headers show

Commit Message

holger@eitzenberger.org Sept. 8, 2014, 2:30 p.m. UTC
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
---
 lib/session.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Jozsef Kadlecsik Sept. 14, 2014, 7:11 p.m. UTC | #1
On Mon, 8 Sep 2014, Holger Eitzenberger wrote:

> Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
> ---
>  lib/session.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/session.c b/lib/session.c
> index d4fe836..8d79a96 100644
> --- a/lib/session.c
> +++ b/lib/session.c
> @@ -804,7 +804,7 @@ list_adt(struct ipset_session *session, struct nlattr *nla[])
>  		safe_snprintf(session, "</elem>");
>  
>  	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;
> 

This patch is also applied, thanks Holger.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/lib/session.c b/lib/session.c
index d4fe836..8d79a96 100644
--- a/lib/session.c
+++ b/lib/session.c
@@ -804,7 +804,7 @@  list_adt(struct ipset_session *session, struct nlattr *nla[])
 		safe_snprintf(session, "</elem>");
 
 	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;