add missing return
This commit is contained in:
parent
c57d2f0468
commit
1fcfdf4c9e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user