gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: better logging


From: gnunet
Subject: [taler-taler-mdb] branch master updated: better logging
Date: Fri, 28 Feb 2020 09:41:10 +0100

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

grothoff pushed a commit to branch master
in repository taler-mdb.

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

commit ce119fa56add0de1a776057bcf4d966381616d53
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Feb 28 09:41:07 2020 +0100

    better logging
---
 src/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index a1cdcfc..348a00e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1470,6 +1470,7 @@ proposal_cb (void *cls,
                 "Failed to setup order with backend: %u/%d\n",
                 http_status,
                 (int) ec);
+    json_dumpf (obj, stderr, 0);
     mdb.cmd = &cmd_reader_display_backend_not_reachable;
     run_mdb_event_loop ();
     cleanup_payment (pa);
@@ -1965,7 +1966,7 @@ write_mdb_command (void *cls)
       chkSum += mdb.txBuffer[idx] = mdb.cmd->cmd.bin[idx];
     for (size_t idx = 0; idx < mdb.cmd->data.bin_size; idx++)
       chkSum += mdb.txBuffer[idx + mdb.cmd->cmd.bin_size] =
-                  mdb.cmd->data.bin[idx];
+        mdb.cmd->data.bin[idx];
     mdb.txBuffer[mdb.cmd->cmd.bin_size + mdb.cmd->data.bin_size] =
       (uint8_t) (chkSum & 0xFF);
   }

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



reply via email to

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