handle error code returned by TALER_EXCHANGEDB_denomination_keys_iterate
This commit is contained in:
parent
7a259fb7bd
commit
46c7647b27
@ -1150,10 +1150,15 @@ revoke_denomination (const struct GNUNET_HashCode *hc)
|
|||||||
"KEYDIR");
|
"KEYDIR");
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir,
|
if (-1 ==
|
||||||
&master_public_key,
|
TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir,
|
||||||
&exchange_keys_revoke_by_dki,
|
&master_public_key,
|
||||||
&rc);
|
&exchange_keys_revoke_by_dki,
|
||||||
|
&rc))
|
||||||
|
{
|
||||||
|
GNUNET_break (0);
|
||||||
|
return GNUNET_SYSERR;
|
||||||
|
}
|
||||||
GNUNET_free (rc.basedir);
|
GNUNET_free (rc.basedir);
|
||||||
return rc.ok;
|
return rc.ok;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user