From 25746483085f73ab76e592e57387116c83320fc3 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 4 Jan 2022 17:10:33 +1100 Subject: [PATCH] base: pretty-print heim_data_t when debug logging --- lib/base/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/log.c b/lib/base/log.c index a6ca6a3dc..2bac772f8 100644 --- a/lib/base/log.c +++ b/lib/base/log.c @@ -911,7 +911,7 @@ heim_audit_addkv_object(heim_svc_req_desc r, const char *k, heim_object_t value) if (key == NULL) return; - descr = heim_json_copy_serialize(value, 0, NULL); + descr = heim_json_copy_serialize(value, HEIM_JSON_F_NO_DATA_DICT, NULL); heim_log(r->hcontext, r->logf, 7, "heim_audit_addkv_object(): " "adding kv pair %s=%s", k, descr ? heim_string_get_utf8(descr) : "");