commit 76ad063852d8afa8addcfef07f94e8295c2bd9d7
parent ae5cf4315d71e0fe8f636af7daabadb1f3acb190
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 16 Aug 2026 08:34:26 +0200
-sanity-truncate log
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/json/conversion.c b/src/json/conversion.c
@@ -284,10 +284,11 @@ child_done_cb (void *cls,
"Failed to parse JSON from helper at %d: %s\n",
err.position,
err.text);
- fprintf (stderr,
- "%.*s\n",
- (int) ec->read_pos,
- (const char *) ec->read_buf);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Helper output was: `%.*s'\n",
+ (int) GNUNET_MIN (1024,
+ ec->read_pos),
+ (const char *) ec->read_buf);
}
}
ec->cb (ec->cb_cls,