summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_lock_product.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-28 20:35:16 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-28 20:35:16 +0200
commitca87a98695221ea3b8beb08c40cf04f6afe7bd2c (patch)
tree06ea5dd9d74059bdcbddf1e7a1ec489a43dfdcf9 /src/testing/testing_api_cmd_lock_product.c
parent9939a99f6c29876f4ad213febf3a0d29fc765cdb (diff)
downloadmerchant-ca87a98695221ea3b8beb08c40cf04f6afe7bd2c.tar.gz
merchant-ca87a98695221ea3b8beb08c40cf04f6afe7bd2c.tar.bz2
merchant-ca87a98695221ea3b8beb08c40cf04f6afe7bd2c.zip
-work on FTBFS of src/testing
Diffstat (limited to 'src/testing/testing_api_cmd_lock_product.c')
-rw-r--r--src/testing/testing_api_cmd_lock_product.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_lock_product.c b/src/testing/testing_api_cmd_lock_product.c
index 49f815d6..da9e8832 100644
--- a/src/testing/testing_api_cmd_lock_product.c
+++ b/src/testing/testing_api_cmd_lock_product.c
@@ -180,16 +180,16 @@ lock_product_cleanup (void *cls,
* @param index index number of the object to extract.
* @return #GNUNET_OK on success
*/
-static int
+static enum GNUNET_GenericReturnValue
lock_product_traits (void *cls,
const void **ret,
const char *trait,
unsigned int index)
{
struct LockProductState *lps = cls;
-
struct TALER_TESTING_Trait traits[] = {
- TALER_TESTING_make_trait_string (0, lps->uuid),
+ TALER_TESTING_make_trait_lock_uuid (
+ (const char **) &lps->uuid),
TALER_TESTING_trait_end ()
};