diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-12-04 23:03:06 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-12-04 23:03:06 +0000 |
commit | fcf3e61b97e22661dbcf6a5c1eab53aa20df16f3 (patch) | |
tree | d221f6b0b73a861ce0a25d0d73ce3c4404204b7a /usr.sbin/rpki-client/output-csv.c | |
parent | 926ff7de7961bf8230e1f3a12d6032b41a00b2a0 (diff) |
use return x; instead of return (x);, like all other files here.
ok deraadt@
Diffstat (limited to 'usr.sbin/rpki-client/output-csv.c')
-rw-r--r-- | usr.sbin/rpki-client/output-csv.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <claudio@openbsd.org> * @@ -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; } |