artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28564e
)
KNF
author
claudio
<claudio@openbsd.org>
Thu, 22 Jun 2023 09:08:02 +0000
(09:08 +0000)
committer
claudio
<claudio@openbsd.org>
Thu, 22 Jun 2023 09:08:02 +0000
(09:08 +0000)
usr.sbin/rpki-client/json.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/json.c
b/usr.sbin/rpki-client/json.c
index
970439b
..
3e6e531
100644
(file)
--- 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;