sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

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

adapt to GNUnet API change

Diffstat:
Msrc/sync/sync-httpd_backup_post.c | 2+-
Msrc/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 @@ -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 @@ -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