summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sync/sync-httpd_backup_post.c2
-rw-r--r--src/testing/testing_api_cmd_backup_upload.c2
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