Refactor auditor/taler-wire-auditor.c for GNUNET_memcmp
This commit is contained in:
parent
0b8a87126b
commit
79dcb72760
@ -1244,9 +1244,8 @@ history_credit_cb (void *cls,
|
|||||||
"diagnostic", "wire reference size missmatch"));
|
"diagnostic", "wire reference size missmatch"));
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
if (0 != memcmp (&details->wtid,
|
if (0 != GNUNET_memcmp (&details->wtid,
|
||||||
&rii->details.wtid,
|
&rii->details.wtid))
|
||||||
sizeof (struct TALER_WireTransferIdentifierRawP)))
|
|
||||||
{
|
{
|
||||||
report (report_reserve_in_inconsistencies,
|
report (report_reserve_in_inconsistencies,
|
||||||
json_pack ("{s:I, s:o, s:o, s:o, s:s, s:s}",
|
json_pack ("{s:I, s:o, s:o, s:o, s:s, s:s}",
|
||||||
@ -1536,9 +1535,8 @@ run (void *cls,
|
|||||||
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
|
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
|
||||||
"Launching auditor\n");
|
"Launching auditor\n");
|
||||||
cfg = c;
|
cfg = c;
|
||||||
if (0 == memcmp (&zeromp,
|
if (0 == GNUNET_memcmp (&zeromp,
|
||||||
&master_pub,
|
&master_pub))
|
||||||
sizeof (struct TALER_MasterPublicKeyP)))
|
|
||||||
{
|
{
|
||||||
/* -m option not given, try configuration */
|
/* -m option not given, try configuration */
|
||||||
char *master_public_key_str;
|
char *master_public_key_str;
|
||||||
|
Loading…
Reference in New Issue
Block a user