merchant

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

commit be099bff1d4f94d2805c3f4ad55884980372be74
parent e66d933d404f8982e617acffd6475526e4a94866
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 19 Aug 2020 15:02:05 +0200

improve logging

Diffstat:
Msrc/lib/merchant_api_common.c | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c @@ -215,7 +215,7 @@ parse_taler_uri_scheme_action (const char *uri, * * @param pay_uri the URI to parse. * @param[out] parse_data data extracted from the URI. Must be free'd. - * @return GNUNET_SYSERR if @e pay_uri is malformed, GNUNET_OK otherwise. + * @return #GNUNET_SYSERR if @e pay_uri is malformed, #GNUNET_OK otherwise. */ int TALER_MERCHANT_parse_pay_uri (const char *pay_uri, @@ -232,6 +232,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, (0 != strcmp ("pay", action))) { + GNUNET_break_op (0); GNUNET_free (action); GNUNET_free (path); return GNUNET_SYSERR; @@ -249,6 +250,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, if (NULL == session_id) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; } @@ -259,6 +261,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, '/'); if (NULL == order_id) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; } @@ -289,6 +292,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, '='); if (NULL == ct_data) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; } @@ -303,6 +307,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, claim_token, sizeof (*claim_token)))) { + GNUNET_break_op (0); GNUNET_free (path); GNUNET_free (claim_token); return GNUNET_SYSERR;