merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 713cb2650ff7ca57ff4050cd10d8c52f7e25d886
parent ca5b95cb8423b5313be4f16e094bfe78d1127b85
Author: MS <ms@taler.net>
Date:   Mon, 27 Jul 2020 16:47:52 +0200

fix check

Diffstat:
Msrc/merchant-tools/taler-merchant-setup-reserve.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c b/src/merchant-tools/taler-merchant-setup-reserve.c @@ -199,9 +199,9 @@ run (void *cls, // not assuming that libcurl copies this value. char *auth_header; - GNUNET_assert (GNUNET_OK == GNUNET_asprintf (&auth_header, - "Authorizattion: ApiKey %s", - apikey)); + GNUNET_assert (0 < GNUNET_asprintf (&auth_header, + "Authorizattion: ApiKey %s", + apikey)); GNUNET_CURL_append_header (ctx, auth_header); }