add missing return

This commit is contained in:
Christian Grothoff 2020-12-20 17:15:55 +01:00
parent c57d2f0468
commit 1fcfdf4c9e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -348,10 +348,10 @@ TEH_handler_wire (const struct TEH_RequestHandler *rh,
(void) args; (void) args;
wsh = get_wire_state (); wsh = get_wire_state ();
if (NULL == wsh) if (NULL == wsh)
TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR, MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_EXCHANGE_GENERIC_BAD_CONFIGURATION, TALER_EC_EXCHANGE_GENERIC_BAD_CONFIGURATION,
NULL); NULL);
return TALER_MHD_reply_json (connection, return TALER_MHD_reply_json (connection,
json_incref (wsh->wire_reply), json_incref (wsh->wire_reply),
MHD_HTTP_OK); MHD_HTTP_OK);