-add missing return

This commit is contained in:
Christian Grothoff 2022-12-20 12:55:42 +01:00
parent aa59b125f2
commit 39277c433a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1071,7 +1071,7 @@ history_cb (void *cls,
reply->details.success.details_length);
break;
}
break;
return;
case MHD_HTTP_NO_CONTENT:
transaction_completed ();
return;
@ -1083,12 +1083,12 @@ history_cb (void *cls,
}
break;
default:
break;
}
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Error fetching history: %s (%u)\n",
TALER_ErrorCode_get_hint (reply->ec),
reply->http_status);
break;
}
if (! exit_on_error)
{
transaction_completed ();