permit NULL trait

This commit is contained in:
Christian Grothoff 2021-02-13 15:52:18 +01:00
parent 7adf9f170f
commit cd17d095e8
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit df1602616af682c4960d08784b7acba5896dcc81 Subproject commit cb43a2642dd75f21c45392667e0877c97474915b

View File

@ -132,10 +132,10 @@ TALER_TESTING_make_trait_url (unsigned int index,
.ptr = (const void *) url .ptr = (const void *) url
}; };
GNUNET_assert (0 != strncasecmp (url, GNUNET_assert ( (NULL == url) ||
"payto://", (0 != strncasecmp (url,
strlen ("payto://"))); "payto://",
strlen ("payto://"))) );
return ret; return ret;
} }