gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-twister] branch master updated: Debugging.


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: Debugging.
Date: Mon, 13 May 2019 20:11:07 +0200

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

marcello pushed a commit to branch master
in repository twister.

The following commit(s) were added to refs/heads/master by this push:
     new 97e27f6  Debugging.
97e27f6 is described below

commit 97e27f606af034099036e62de95dd0173a820716
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 13 20:10:57 2019 +0200

    Debugging.
---
 src/twister/taler-twister-service.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index 0552495..ee15c43 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -937,7 +937,8 @@ con_val_iter (void *cls,
 
 
 /**
- * Walk a JSON object preparing its modification.
+ * Walk a JSON object preparing its modification.  Name to
+ * be changed in 'walk_object'.
  *
  * @param path the path pointing to a object to modify.
  * @param[out] parent will point to the parent of the targeted
@@ -1137,7 +1138,10 @@ flip_object (struct MHD_Connection *con,
                                          &parent,
                                          &target,
                                          json))
+  {
+    TALER_LOG_ERROR ("Could not walk the object in the quest for flip\n");
     return;
+  }
 
   /* here, element is the parent of the element to be deleted. */
   int ret_flip = -1;
@@ -1411,6 +1415,10 @@ create_response (void *cls,
 
     if ('\0' != flip_path_ul[0])
     {
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                  "Will try to flip: %s\n",
+                  flip_path_ul);
+
       GNUNET_assert (0 == strcmp (MHD_HTTP_METHOD_POST,
                                   meth));
       GNUNET_break
@@ -1436,6 +1444,10 @@ create_response (void *cls,
 
     if ('\0' != modify_path_ul[0])
     {
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                  "Will try to modify: %s\n",
+                  flip_path_ul);
+
       GNUNET_assert (0 == strcmp (MHD_HTTP_METHOD_POST,
                                   meth));
       GNUNET_break

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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