aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-18 21:26:26 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-18 21:26:26 +0200
commit7188eaf8e3931333bc37c2ca89f140c632f45897 (patch)
tree9c0a5ad289f2ba62debf27c35c5f400ffa6f2251 /src/json/json_helper.c
parent5fcabf87a066a776d40ff52484fa8d54e8302963 (diff)
downloadgnunet-7188eaf8e3931333bc37c2ca89f140c632f45897.tar.gz
gnunet-7188eaf8e3931333bc37c2ca89f140c632f45897.zip
-log more details
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index c0513c529..def26afb8 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -66,6 +66,9 @@ parse_fixed_data (void *cls,
66 if (((len * 5) / 8) != spec->ptr_size) 66 if (((len * 5) / 8) != spec->ptr_size)
67 { 67 {
68 GNUNET_break_op (0); 68 GNUNET_break_op (0);
69 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
70 "Field `%s' has wrong length\n",
71 spec->field);
69 return GNUNET_SYSERR; 72 return GNUNET_SYSERR;
70 } 73 }
71 if (GNUNET_OK != 74 if (GNUNET_OK !=