gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -log where it failed


From: gnunet
Subject: [taler-exchange] branch master updated: -log where it failed
Date: Sat, 21 May 2022 01:40:02 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new c471ae44 -log where it failed
c471ae44 is described below

commit c471ae447b285c33ef51cd50b8e0cc36d9c0a794
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 21 01:39:59 2022 +0200

    -log where it failed
---
 src/util/payto.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/util/payto.c b/src/util/payto.c
index 971e2496..442107a0 100644
--- a/src/util/payto.c
+++ b/src/util/payto.c
@@ -107,16 +107,25 @@ TALER_xtalerbank_account_from_payto (const char *payto)
   if (0 != strncasecmp (payto,
                         PAYTO "x-taler-bank/",
                         strlen (PAYTO "x-taler-bank/")))
+  {
+    GNUNET_break_op (0);
     return NULL;
+  }
   beg = strchr (&payto[strlen (PAYTO "x-taler-bank/")],
                 '/');
   if (NULL == beg)
+  {
+    GNUNET_break_op (0);
     return NULL;
+  }
   beg++; /* now points to $ACCOUNT */
   end = strchr (beg,
                 '?');
   if (NULL == end)
+  {
+    GNUNET_break_op (0);
     return GNUNET_strdup (beg); /* optional part is missing */
+  }
   return GNUNET_strndup (beg,
                          end - beg);
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]