diff options
Diffstat (limited to 'src/testing/testing_api_cmd_post_orders.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_orders.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/testing/testing_api_cmd_post_orders.c b/src/testing/testing_api_cmd_post_orders.c index 5b9e533f..f7c00388 100644 --- a/src/testing/testing_api_cmd_post_orders.c +++ b/src/testing/testing_api_cmd_post_orders.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014-2018 Taler Systems SA + Copyright (C) 2014-2021 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -439,7 +439,7 @@ orders_run2 (void *cls, char *token; struct TALER_MERCHANT_InventoryProduct *products = NULL; unsigned int products_length = 0; - struct GNUNET_Uuid *locks = NULL; + const char **locks = NULL; unsigned int locks_length = 0; ps->is = is; @@ -527,16 +527,16 @@ orders_run2 (void *cls, token = strtok (NULL, ";")) { const struct TALER_TESTING_Command *lock_cmd; - struct GNUNET_Uuid *uuid; + const char *uuid; lock_cmd = TALER_TESTING_interpreter_lookup_command ( is, token); if (GNUNET_OK != - TALER_TESTING_get_trait_uuid (lock_cmd, - 0, - &uuid)) + TALER_TESTING_get_trait_string (lock_cmd, + 0, + &uuid)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Could not fetch lock uuid\n"); @@ -546,7 +546,7 @@ orders_run2 (void *cls, GNUNET_array_append (locks, locks_length, - *uuid); + uuid); } ps->po = TALER_MERCHANT_orders_post2 (is->ctx, ps->merchant_url, |