[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: improve logging
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: improve logging |
Date: |
Wed, 19 Aug 2020 15:02:07 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new be099bf improve logging
be099bf is described below
commit be099bff1d4f94d2805c3f4ad55884980372be74
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Aug 19 15:02:05 2020 +0200
improve logging
---
src/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
index e60987f..f375efd 100644
--- 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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: improve logging,
gnunet <=