summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-22 18:50:59 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-22 18:50:59 +0200
commit13e71102938d16ff4777501532b3f8d1f574ad62 (patch)
tree61acb22e53676296e89b957ee4cdbd08bba1d3c9 /src
parent740e5d895b5ca03770d6f270ea8076cf4183953d (diff)
downloadmerchant-13e71102938d16ff4777501532b3f8d1f574ad62.tar.gz
merchant-13e71102938d16ff4777501532b3f8d1f574ad62.tar.bz2
merchant-13e71102938d16ff4777501532b3f8d1f574ad62.zip
log where parsing failed
Diffstat (limited to 'src')
-rw-r--r--src/lib/merchant_api_common.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c
index f375efd9..55d4209f 100644
--- 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;
}