fix missing value_ready reset when returning a CxJsonValue

Sun, 03 Nov 2024 09:30:10 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 03 Nov 2024 09:30:10 +0100
changeset 976
d9063c14d3fb
parent 975
96bf02371aef
child 977
a941b01b684f

fix missing value_ready reset when returning a CxJsonValue

src/json.c file | annotate | diff | comparison | revisions
--- a/src/json.c	Sat Nov 02 20:19:58 2024 +0100
+++ b/src/json.c	Sun Nov 03 09:30:10 2024 +0100
@@ -696,6 +696,7 @@
     *value = p->read_value;
     p->readvalue_initialized = 0;
     p->read_value = NULL;
+    p->value_ready = 0;
 
     return 1;
 }

mercurial