diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-04 21:08:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-04 21:08:47 +0200 |
commit | f30382cd3f8d2f0d6c101096796627b94e758272 (patch) | |
tree | cc07697166516da25e60f0e6bc61761414ac1dc6 /src/json/json_pack.c | |
parent | 1ad016428ad6fe760a6713938f0d375e38e0de04 (diff) | |
download | gnunet-f30382cd3f8d2f0d6c101096796627b94e758272.tar.gz gnunet-f30382cd3f8d2f0d6c101096796627b94e758272.zip |
-more logging
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 |