exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 1fcfdf4c9e5835c81b8424febc854fb7f9d0829b
parent c57d2f0468e0e8ea0bc03f89fb63d6c9ba80930a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 20 Dec 2020 17:15:55 +0100

add missing return

Diffstat:
Msrc/exchange/taler-exchange-httpd_wire.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c @@ -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);