Moving checks where they belong.
This commit is contained in:
parent
60549a69c7
commit
4f17b17fe3
@ -523,6 +523,10 @@ track_transfer_cb
|
|||||||
TALER_TESTING_interpreter_fail (is);
|
TALER_TESTING_interpreter_fail (is);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (http_status)
|
||||||
|
{
|
||||||
|
case MHD_HTTP_OK:
|
||||||
if (NULL == tts->expected_total_amount)
|
if (NULL == tts->expected_total_amount)
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
@ -535,9 +539,7 @@ track_transfer_cb
|
|||||||
TALER_TESTING_interpreter_fail (is);
|
TALER_TESTING_interpreter_fail (is);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (http_status)
|
|
||||||
{
|
|
||||||
case MHD_HTTP_OK:
|
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_string_to_amount (tts->expected_total_amount,
|
TALER_string_to_amount (tts->expected_total_amount,
|
||||||
&expected_amount))
|
&expected_amount))
|
||||||
|
Loading…
Reference in New Issue
Block a user