summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/gana0
-rw-r--r--src/json/json_helper.c3
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 99d8d9e0336bacebab5af4ae00c3f685ffd90f6
+Subproject 1ed41552f6013e5f48c68389d60e3d5d61892a0
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,
if (((len * 5) / 8) != spec->ptr_size)
{
GNUNET_break_op (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Field `%s' has wrong length\n",
+ spec->field);
return GNUNET_SYSERR;
}
if (GNUNET_OK !=