commit b6cb6c14f2e0f933fb0bff644bc70e2e57c8cb37
parent 087da688dd21497550f62c95ded45faffccc1fc9
Author: Joris Vink <joris@coders.se>
Date: Sun, 18 Apr 2021 11:57:53 +0200
kore_json_strerror() no longer takes a param.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/acme.c b/src/acme.c
@@ -483,7 +483,7 @@ acme_parse_directory(void)
if (!kore_json_parse(&json)) {
kore_log(LOG_NOTICE,
"failed to parse directory payload from ACME server (%s)",
- kore_json_strerror(&json));
+ kore_json_strerror());
goto cleanup;
}
@@ -688,7 +688,7 @@ acme_order_create_submit(struct acme_sign_op *op, struct kore_buf *payload)
if (!kore_json_parse(&json)) {
kore_log(LOG_NOTICE,
"[%s] failed to parse order payload from ACME server (%s)",
- domain, kore_json_strerror(&json));
+ domain, kore_json_strerror());
goto cleanup;
}
@@ -806,7 +806,7 @@ acme_order_update_submit(struct acme_sign_op *op, struct kore_buf *payload)
if (!kore_json_parse(&json)) {
kore_log(LOG_NOTICE,
"[%s] failed to parse order payload from ACME server (%s)",
- order->domain, kore_json_strerror(&json));
+ order->domain, kore_json_strerror());
goto cleanup;
}
@@ -1224,7 +1224,7 @@ acme_order_auth_update_submit(struct acme_sign_op *op, struct kore_buf *payload)
if (!kore_json_parse(&json)) {
kore_log(LOG_NOTICE,
"[%s:auth] failed to parse payload from ACME server (%s)",
- order->domain, kore_json_strerror(&json));
+ order->domain, kore_json_strerror());
goto cleanup;
}