gnunet-svn
[Top][All Lists]
Advanced

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

[taler-sync] branch master updated: adapt to GNUnet API change


From: gnunet
Subject: [taler-sync] branch master updated: adapt to GNUnet API change
Date: Wed, 12 Aug 2020 09:44:40 +0200

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

dold pushed a commit to branch master
in repository sync.

The following commit(s) were added to refs/heads/master by this push:
     new 41b108b  adapt to GNUnet API change
41b108b is described below

commit 41b108bc9c2661eefc5e4fe8baa08986d832b4dd
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Wed Aug 12 13:14:20 2020 +0530

    adapt to GNUnet API change
---
 src/sync/sync-httpd_backup_post.c           | 2 +-
 src/testing/testing_api_cmd_backup_upload.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sync/sync-httpd_backup_post.c 
b/src/sync/sync-httpd_backup_post.c
index 86327cb..5a570c8 100644
--- a/src/sync/sync-httpd_backup_post.c
+++ b/src/sync/sync-httpd_backup_post.c
@@ -853,7 +853,7 @@ SH_backup_post (struct MHD_Connection *connection,
   {
     enum SYNC_DB_QueryStatus qs;
 
-    if (0 == GNUNET_is_zero (&bc->old_backup_hash))
+    if (GNUNET_YES == GNUNET_is_zero (&bc->old_backup_hash))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                   "Uploading first backup to account\n");
diff --git a/src/testing/testing_api_cmd_backup_upload.c 
b/src/testing/testing_api_cmd_backup_upload.c
index 1b9f9a8..4f0b159 100644
--- a/src/testing/testing_api_cmd_backup_upload.c
+++ b/src/testing/testing_api_cmd_backup_upload.c
@@ -345,7 +345,7 @@ backup_upload_run (void *cls,
                          bus->sync_url,
                          &bus->sync_priv,
                          ( ( (NULL != bus->prev_upload) &&
-                             (0 != GNUNET_is_zero (&bus->prev_hash)) ) ||
+                             (GNUNET_NO == GNUNET_is_zero (&bus->prev_hash)) ) 
||
                            (0 != (SYNC_TESTING_UO_PREV_HASH_WRONG
                                   & bus->uopt)) )
                          ? &bus->prev_hash

-- 
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]