summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-06-22 09:08:03 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-06-22 09:08:03 +0000
commit0055b8f7f00da57036be600682f3135fb5bf6008 (patch)
tree5593ae6ef9bdd1496de11afbbce21f0418f8cd97 /usr.sbin/rpki-client
parent807f46cc7e05df39802da21b2245f74f26fb94d1 (diff)
KNF
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r--usr.sbin/rpki-client/json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/json.c b/usr.sbin/rpki-client/json.c
index 970439babbf..3e6e5314ba5 100644
--- a/usr.sbin/rpki-client/json.c
+++ b/usr.sbin/rpki-client/json.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: json.c,v 1.3 2023/06/05 14:19:13 claudio Exp $ */
+/* $OpenBSD: json.c,v 1.4 2023/06/22 09:08:02 claudio Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
@@ -232,7 +232,7 @@ json_do_string(const char *name, const char *v)
eb = fprintf(jsonfh, "\"") < 0;
while ((c = *v++) != '\0' && !eb) {
/* skip escaping '/' since our use case does not require it */
- switch(c) {
+ switch (c) {
case '"':
eb = fprintf(jsonfh, "\\\"") < 0;
break;