WIP media key: add redundant requires, to see which one fails

gitea-83-84--v3--old-and-probably-useless
positron 7 months ago
parent fe897f7796
commit eba92f5b85

@ -272,6 +272,11 @@ PEP_STATUS identity_known_to_use_pEp(PEP_SESSION session,
const pEp_identity *identity,
bool *known_to_use_pEp)
{
// TEMPORARY: begin
PEP_REQUIRE(session && identity && known_to_use_pEp);
PEP_REQUIRE(! EMPTYSTR(identity->address));
PEP_REQUIRE(! EMPTYSTR(identity->user_id));
// TEMPORARY: end
/* Sanity checks. */
PEP_REQUIRE(session && identity && known_to_use_pEp
&& ! EMPTYSTR(identity->address)

Loading…
Cancel
Save