sync

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

commit 6be561d0b01f65c4c1eb931dd0d8d45ee83aedf7
parent 7966a22f35266e7a607b08ef4975e0a09e31e0ae
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 29 Jul 2023 15:33:08 +0200

-fix warnings

Diffstat:
Msrc/sync/sync-httpd_backup_post.c | 3++-
Msrc/testing/testing_api_cmd_backup_download.c | 3++-
Msrc/testing/testing_api_cmd_backup_upload.c | 3++-
3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/sync/sync-httpd_backup_post.c b/src/sync/sync-httpd_backup_post.c @@ -540,6 +540,7 @@ static MHD_RESULT begin_payment (struct BackupContext *bc, int pay_req) { + static const char *no_uuids[1] = { NULL }; json_t *order; if (! bc->force_fresh_order) @@ -597,7 +598,7 @@ begin_payment (struct BackupContext *bc, 0, NULL, /* no inventory products */ 0, - NULL, /* no uuids */ + no_uuids, /* no uuids */ false, /* do NOT require claim token */ &proposal_cb, bc); diff --git a/src/testing/testing_api_cmd_backup_download.c b/src/testing/testing_api_cmd_backup_download.c @@ -92,7 +92,8 @@ backup_download_cb (void *cls, if (dd->http_status != bds->http_status) { TALER_TESTING_unexpected_status (bds->is, - dd->http_status); + dd->http_status, + bds->http_status); } if (NULL != bds->upload_reference) { diff --git a/src/testing/testing_api_cmd_backup_upload.c b/src/testing/testing_api_cmd_backup_upload.c @@ -138,7 +138,8 @@ backup_upload_cb (void *cls, if (ud->http_status != bus->http_status) { TALER_TESTING_unexpected_status (bus->is, - ud->http_status); + ud->http_status, + bus->http_status); } switch (ud->us) {