aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/gana0
-rw-r--r--src/testing/testing_api_trait_string.c8
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject df1602616af682c4960d08784b7acba5896dcc8
+Subproject cb43a2642dd75f21c45392667e0877c97474915
diff --git a/src/testing/testing_api_trait_string.c b/src/testing/testing_api_trait_string.c
index 381760113..b102265e8 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;
}