check rval
This commit is contained in:
parent
4f17b17fe3
commit
6a1649f62f
@ -183,18 +183,22 @@ status_run (void *cls,
|
|||||||
&transfer_subject))
|
&transfer_subject))
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
TALER_LOG_ERROR
|
TALER_LOG_ERROR ("The reserve has neither a priv nor a subject line.\n");
|
||||||
("The reserve has neither a priv nor a subject line..\n");
|
|
||||||
TALER_TESTING_interpreter_fail (is);
|
TALER_TESTING_interpreter_fail (is);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GNUNET_STRINGS_string_to_data
|
if (GNUNET_OK !=
|
||||||
(transfer_subject,
|
GNUNET_STRINGS_string_to_data (transfer_subject,
|
||||||
strlen (transfer_subject),
|
strlen (transfer_subject),
|
||||||
&reserve_pub.eddsa_pub,
|
&reserve_pub.eddsa_pub,
|
||||||
sizeof (struct TALER_ReservePublicKeyP));
|
sizeof (struct TALER_ReservePublicKeyP)))
|
||||||
|
{
|
||||||
|
GNUNET_break (0);
|
||||||
|
TALER_LOG_ERROR ("Transfer subject is not a public key.\n");
|
||||||
|
TALER_TESTING_interpreter_fail (is);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ss->rsh = TALER_EXCHANGE_reserve_status (is->exchange,
|
ss->rsh = TALER_EXCHANGE_reserve_status (is->exchange,
|
||||||
|
Loading…
Reference in New Issue
Block a user