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;
|
||||
wsh = get_wire_state ();
|
||||
if (NULL == wsh)
|
||||
TALER_MHD_reply_with_error (connection,
|
||||
MHD_HTTP_INTERNAL_SERVER_ERROR,
|
||||
TALER_EC_EXCHANGE_GENERIC_BAD_CONFIGURATION,
|
||||
NULL);
|
||||
return TALER_MHD_reply_with_error (connection,
|
||||
MHD_HTTP_INTERNAL_SERVER_ERROR,
|
||||
TALER_EC_EXCHANGE_GENERIC_BAD_CONFIGURATION,
|
||||
NULL);
|
||||
return TALER_MHD_reply_json (connection,
|
||||
json_incref (wsh->wire_reply),
|
||||
MHD_HTTP_OK);
|
||||
|
Loading…
Reference in New Issue
Block a user