diff options
Diffstat (limited to 'src/json/json_pack.c')
-rw-r--r-- | src/json/json_pack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/json/json_pack.c b/src/json/json_pack.c index 8fc806086..9ffea7cb0 100644 --- a/src/json/json_pack.c +++ b/src/json/json_pack.c | |||
@@ -45,6 +45,9 @@ GNUNET_JSON_pack_ (struct GNUNET_JSON_PackSpec spec[]) | |||
45 | { | 45 | { |
46 | if (NULL == spec[i].object) | 46 | if (NULL == spec[i].object) |
47 | { | 47 | { |
48 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
49 | "NULL not allowed for `%s'\n", | ||
50 | spec[i].field_name); | ||
48 | GNUNET_assert (spec[i].allow_null); | 51 | GNUNET_assert (spec[i].allow_null); |
49 | } | 52 | } |
50 | else | 53 | else |