diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-29 15:24:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-29 15:26:19 +0200 |
commit | 6446eeb9a43daa6410afa33650a4cffb1e504035 (patch) | |
tree | 4ef63e26d68f30455a4a065174b8eab91a2df3cd | |
parent | 86a72e07041b1b26bd2f447c887f81bf2e3c6e8d (diff) | |
download | anastasis-6446eeb9a43daa6410afa33650a4cffb1e504035.tar.gz anastasis-6446eeb9a43daa6410afa33650a4cffb1e504035.tar.bz2 anastasis-6446eeb9a43daa6410afa33650a4cffb1e504035.zip |
-fix warnings
-rw-r--r-- | src/backend/anastasis-httpd_policy-upload.c | 3 | ||||
-rw-r--r-- | src/backend/anastasis-httpd_truth-challenge.c | 3 | ||||
-rw-r--r-- | src/backend/anastasis-httpd_truth-solve.c | 3 | ||||
-rw-r--r-- | src/backend/anastasis-httpd_truth-upload.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/backend/anastasis-httpd_policy-upload.c b/src/backend/anastasis-httpd_policy-upload.c index ab94d32..d966eba 100644 --- a/src/backend/anastasis-httpd_policy-upload.c +++ b/src/backend/anastasis-httpd_policy-upload.c @@ -558,6 +558,7 @@ await_payment (struct PolicyUploadContext *puc) static MHD_RESULT begin_payment (struct PolicyUploadContext *puc) { + static const char *no_uuids[1] = { NULL }; json_t *order; GNUNET_CONTAINER_DLL_insert (puc_head, @@ -608,7 +609,7 @@ begin_payment (struct PolicyUploadContext *puc) 0, NULL, /* no inventory products */ 0, - NULL, /* no uuids */ + no_uuids, /* no uuids */ false, /* do NOT require claim token */ &proposal_cb, puc); diff --git a/src/backend/anastasis-httpd_truth-challenge.c b/src/backend/anastasis-httpd_truth-challenge.c index cda074c..b06ec78 100644 --- a/src/backend/anastasis-httpd_truth-challenge.c +++ b/src/backend/anastasis-httpd_truth-challenge.c @@ -799,6 +799,7 @@ begin_payment (struct ChallengeContext *gc) else { /* Create a fresh order */ + static const char *no_uuids[1] = { NULL }; json_t *order; struct GNUNET_TIME_Timestamp pay_deadline; @@ -832,7 +833,7 @@ begin_payment (struct ChallengeContext *gc) 0, NULL, /* no inventory products */ 0, - NULL, /* no uuids */ + no_uuids, /* no uuids */ false, /* do NOT require claim token */ &proposal_cb, gc); diff --git a/src/backend/anastasis-httpd_truth-solve.c b/src/backend/anastasis-httpd_truth-solve.c index eaa1dc5..bf00237 100644 --- a/src/backend/anastasis-httpd_truth-solve.c +++ b/src/backend/anastasis-httpd_truth-solve.c @@ -646,6 +646,7 @@ begin_payment (struct SolveContext *gc) else { /* Create a fresh order */ + static const char *no_uuids[1] = { NULL }; json_t *order; struct GNUNET_TIME_Timestamp pay_deadline; @@ -679,7 +680,7 @@ begin_payment (struct SolveContext *gc) 0, NULL, /* no inventory products */ 0, - NULL, /* no uuids */ + no_uuids, /* no uuids */ false, /* do NOT require claim token */ &proposal_cb, gc); diff --git a/src/backend/anastasis-httpd_truth-upload.c b/src/backend/anastasis-httpd_truth-upload.c index 428bbee..105d183 100644 --- a/src/backend/anastasis-httpd_truth-upload.c +++ b/src/backend/anastasis-httpd_truth-upload.c @@ -396,6 +396,7 @@ check_payment_cb (void *cls, case MHD_HTTP_NOT_FOUND: /* Setup fresh order */ { + static const char *no_uuids[1] = { NULL }; char *order_id; json_t *order; @@ -426,7 +427,7 @@ check_payment_cb (void *cls, 0, NULL, /* no inventory products */ 0, - NULL, /* no uuids */ + no_uuids, /* no uuids */ false, /* do NOT require claim token */ &proposal_cb, tuc); |