From 1f5f3e74087f0c9488c1c99339ac6bdc405f9b8c Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 22 Feb 2024 19:29:55 +0000 Subject: [PATCH] Zap trailing blanks --- usr.sbin/rpki-client/print.c | 4 ++-- usr.sbin/rpki-client/spl.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/rpki-client/print.c b/usr.sbin/rpki-client/print.c index ac3852a482b..bb92910c15e 100644 --- a/usr.sbin/rpki-client/print.c +++ b/usr.sbin/rpki-client/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.50 2024/02/22 12:49:42 job Exp $ */ +/* $OpenBSD: print.c,v 1.51 2024/02/22 19:29:55 tb Exp $ */ /* * Copyright (c) 2021 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -554,7 +554,7 @@ spl_print(const X509 *x, const struct spl *s) } else { if (i > 0) printf("%26s", ""); - printf("%s\n", buf); + printf("%s\n", buf); } } if (outformats & FORMAT_JSON) diff --git a/usr.sbin/rpki-client/spl.c b/usr.sbin/rpki-client/spl.c index fdb5cdf172e..4a8f397e366 100644 --- a/usr.sbin/rpki-client/spl.c +++ b/usr.sbin/rpki-client/spl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spl.c,v 1.1 2024/02/22 12:49:42 job Exp $ */ +/* $OpenBSD: spl.c,v 1.2 2024/02/22 19:29:55 tb Exp $ */ /* * Copyright (c) 2024 Job Snijders * Copyright (c) 2022 Theo Buehler @@ -86,7 +86,7 @@ IMPLEMENT_ASN1_FUNCTIONS(SignedPrefixList); * Comparator to help sorting elements in SPL prefixBlocks and VSPs. * Returns -1 if 'a' should precede 'b', 1 if 'b' should precede 'a', * or '0' if a and b are equal. - */ + */ static int prefix_cmp(enum afi afi, const struct ip_addr *a, const struct ip_addr *b) { -- 2.20.1