merchant

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

commit 13e71102938d16ff4777501532b3f8d1f574ad62
parent 740e5d895b5ca03770d6f270ea8076cf4183953d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Aug 2020 18:50:59 +0200

log where parsing failed

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

diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c @@ -361,7 +361,7 @@ TALER_MERCHANT_parse_pay_uri_free ( * * @param refund_uri the URI to parse. * @param[out] parse_data data extracted from the URI. Must be free'd. - * @return GNUNET_SYSERR if @e refund_uri is malformed, GNUNET_OK otherwise. + * @return #GNUNET_SYSERR if @e refund_uri is malformed, #GNUNET_OK otherwise. */ int TALER_MERCHANT_parse_refund_uri ( @@ -379,6 +379,7 @@ TALER_MERCHANT_parse_refund_uri ( (0 != strcmp ("refund", action))) { + GNUNET_break_op (0); GNUNET_free (action); GNUNET_free (path); return GNUNET_SYSERR; @@ -395,6 +396,7 @@ TALER_MERCHANT_parse_refund_uri ( if (NULL == last_seg) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; } @@ -405,6 +407,7 @@ TALER_MERCHANT_parse_refund_uri ( '/'); if (NULL == order_id) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; } @@ -421,6 +424,7 @@ TALER_MERCHANT_parse_refund_uri ( if (0 != strlen (last_seg)) { + GNUNET_break_op (0); GNUNET_free (path); return GNUNET_SYSERR; }