gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: permit NULL trait


From: gnunet
Subject: [taler-exchange] branch master updated: permit NULL trait
Date: Sat, 13 Feb 2021 15:52:22 +0100

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 cd17d095 permit NULL trait
cd17d095 is described below

commit cd17d095e8d542d6cef854e8394472364e9a01b9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 13 15:52:18 2021 +0100

    permit NULL trait
---
 contrib/gana                           | 2 +-
 src/testing/testing_api_trait_string.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index df160261..cb43a264 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit df1602616af682c4960d08784b7acba5896dcc81
+Subproject commit cb43a2642dd75f21c45392667e0877c97474915b
diff --git a/src/testing/testing_api_trait_string.c 
b/src/testing/testing_api_trait_string.c
index 38176011..b102265e 100644
--- a/src/testing/testing_api_trait_string.c
+++ b/src/testing/testing_api_trait_string.c
@@ -132,10 +132,10 @@ TALER_TESTING_make_trait_url (unsigned int index,
     .ptr = (const void *) url
   };
 
-  GNUNET_assert (0 != strncasecmp (url,
-                                   "payto://",
-                                   strlen ("payto://")));
-
+  GNUNET_assert ( (NULL == url) ||
+                  (0 != strncasecmp (url,
+                                     "payto://",
+                                     strlen ("payto://"))) );
   return ret;
 }
 

-- 
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]