diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-25 21:33:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-25 21:33:41 +0100 |
commit | 0e63f90cfb3fbc4271a3a82f988e61d8697c8cb6 (patch) | |
tree | 65a4511ced635627a17c36544c89a50101a122d1 /src/lib/merchant_api_post_order_claim.c | |
parent | 5b138413ac84ba76322ec41255143bb5c6cb3557 (diff) |
implement #6525, requires LASTEST GNUnet to work
Diffstat (limited to 'src/lib/merchant_api_post_order_claim.c')
-rw-r--r-- | src/lib/merchant_api_post_order_claim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_post_order_claim.c b/src/lib/merchant_api_post_order_claim.c index f37e5978..ab7d26b8 100644 --- a/src/lib/merchant_api_post_order_claim.c +++ b/src/lib/merchant_api_post_order_claim.c @@ -177,6 +177,11 @@ TALER_MERCHANT_order_claim (struct GNUNET_CURL_Context *ctx, struct TALER_MERCHANT_OrderClaimHandle *och; json_t *req_obj; + if (NULL == order_id) + { + GNUNET_break (0); + return NULL; + } req_obj = json_pack ("{s:o}", "nonce", GNUNET_JSON_from_data_auto (nonce)); |