From fcf3e61b97e22661dbcf6a5c1eab53aa20df16f3 Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Wed, 4 Dec 2019 23:03:06 +0000 Subject: use return x; instead of return (x);, like all other files here. ok deraadt@ --- usr.sbin/rpki-client/output-csv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/rpki-client/output-csv.c') diff --git a/usr.sbin/rpki-client/output-csv.c b/usr.sbin/rpki-client/output-csv.c index f8058a0fbcd..da56e04e88d 100644 --- a/usr.sbin/rpki-client/output-csv.c +++ b/usr.sbin/rpki-client/output-csv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output-csv.c,v 1.5 2019/12/04 12:40:17 deraadt Exp $ */ +/* $OpenBSD: output-csv.c,v 1.6 2019/12/04 23:03:05 benno Exp $ */ /* * Copyright (c) 2019 Claudio Jeker * @@ -27,13 +27,13 @@ output_csv(FILE *out, struct vrp_tree *vrps) struct vrp *v; if (fprintf(out, "ASN,IP Prefix,Max Length,Trust Anchor\n") < 0) - return (-1); + return -1; RB_FOREACH(v, vrp_tree, vrps) { ip_addr_print(&v->addr, v->afi, buf, sizeof(buf)); if (fprintf(out, "AS%u,%s,%u,%s\n", v->asid, buf, v->maxlength, v->tal) < 0) - return (-1); + return -1; } - return (0); + return 0; } -- cgit v1.2.3