From d8e85091f63715eb75e182166fd8e3165c321dd9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 22 Aug 2020 23:02:26 +0200 Subject: lib.c: add missing string case to type() Signed-off-by: Jo-Philipp Wich --- lib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib.c b/lib.c index 61f4fc2..70bd67e 100644 --- a/lib.c +++ b/lib.c @@ -700,6 +700,9 @@ ut_type(struct ut_state *s, struct ut_opcode *op, struct json_object *args) case json_type_boolean: return json_object_new_string("bool"); + case json_type_string: + return json_object_new_string("string"); + default: return NULL; } -- cgit v1.2.3