gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -more logging


From: gnunet
Subject: [gnunet] branch master updated: -more logging
Date: Tue, 04 Jul 2023 21:08:53 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new f30382cd3 -more logging
f30382cd3 is described below

commit f30382cd3f8d2f0d6c101096796627b94e758272
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jul 4 21:08:44 2023 +0200

    -more logging
---
 src/json/json_pack.c | 3 +++
 1 file changed, 3 insertions(+)

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[])
   {
     if (NULL == spec[i].object)
     {
+      GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                  "NULL not allowed for `%s'\n",
+                  spec[i].field_name);
       GNUNET_assert (spec[i].allow_null);
     }
     else

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]