summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-04-20 15:38:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-04-20 15:38:25 +0000
commitbc0f3aff8351e12d94721876ed5ec9c05a612b50 (patch)
treef17d3c6460ed1f54b8e8587f7d5e7f2a1b462710 /usr.sbin
parent320deaaa06378baedde3239bd56e2521fa3becd3 (diff)
more whitespace cleanups
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpki-client/extern.h4
-rw-r--r--usr.sbin/rpki-client/http.c4
-rw-r--r--usr.sbin/rpki-client/rsync.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h
index fea4bdfe99f..37a6b2bf172 100644
--- a/usr.sbin/rpki-client/extern.h
+++ b/usr.sbin/rpki-client/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.129 2022/04/20 10:46:20 job Exp $ */
+/* $OpenBSD: extern.h,v 1.130 2022/04/20 15:38:24 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -359,7 +359,7 @@ struct entity {
char *path; /* path relative to repository */
char *file; /* filename or valid repo path */
unsigned char *data; /* optional data blob */
- size_t datasz; /* length of optional data blob */
+ size_t datasz; /* length of optional data blob */
unsigned int repoid; /* repository identifier */
int talid; /* tal identifier */
enum rtype type; /* type of entity (not RTYPE_EOF) */
diff --git a/usr.sbin/rpki-client/http.c b/usr.sbin/rpki-client/http.c
index be33c2265db..e9423e9354c 100644
--- a/usr.sbin/rpki-client/http.c
+++ b/usr.sbin/rpki-client/http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: http.c,v 1.56 2022/04/20 15:31:48 tb Exp $ */
+/* $OpenBSD: http.c,v 1.57 2022/04/20 15:38:24 deraadt Exp $ */
/*
* Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
@@ -381,7 +381,7 @@ proxy_parse_uri(char *uri)
if ((hosttail = strrchr(host, ']')) == NULL)
errx(1, "%s: unmatched opening bracket",
- http_info(uri));
+ http_info(uri));
if (hosttail[1] == '\0' || hosttail[1] == ':')
host++;
if (hosttail[1] == ':')
diff --git a/usr.sbin/rpki-client/rsync.c b/usr.sbin/rpki-client/rsync.c
index 3c1149271ba..37f52aa800c 100644
--- a/usr.sbin/rpki-client/rsync.c
+++ b/usr.sbin/rpki-client/rsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsync.c,v 1.36 2022/04/20 15:31:48 tb Exp $ */
+/* $OpenBSD: rsync.c,v 1.37 2022/04/20 15:38:24 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -248,7 +248,7 @@ proc_rsync(char *prog, char *bind_addr, int fd)
b = io_new_buffer();
io_simple_buffer(b, &ids[i].id,
- sizeof(ids[i].id));
+ sizeof(ids[i].id));
io_simple_buffer(b, &ok, sizeof(ok));
io_close_buffer(&msgq, b);