[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: -fix warnings
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: -fix warnings |
Date: |
Sat, 29 Jul 2023 16:00:45 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository sync.
The following commit(s) were added to refs/heads/master by this push:
new 6be561d -fix warnings
6be561d is described below
commit 6be561d0b01f65c4c1eb931dd0d8d45ee83aedf7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jul 29 15:33:08 2023 +0200
-fix warnings
---
src/sync/sync-httpd_backup_post.c | 3 ++-
src/testing/testing_api_cmd_backup_download.c | 3 ++-
src/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
index 4623778..d0d85e6 100644
--- 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
index 7ed1f3b..42bc4ba 100644
--- 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
index 090e74b..d6e8d5c 100644
--- 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)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-sync] branch master updated: -fix warnings,
gnunet <=