summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-20 17:15:55 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-20 17:15:55 +0100
commit1fcfdf4c9e5835c81b8424febc854fb7f9d0829b (patch)
tree95832ab19cc15ff088ffb7500bb86be0265779fc /src/exchange
parentc57d2f0468e0e8ea0bc03f89fb63d6c9ba80930a (diff)
downloadexchange-1fcfdf4c9e5835c81b8424febc854fb7f9d0829b.tar.gz
exchange-1fcfdf4c9e5835c81b8424febc854fb7f9d0829b.tar.bz2
exchange-1fcfdf4c9e5835c81b8424febc854fb7f9d0829b.zip
add missing return
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index d575fcf9..885d10d7 100644
--- 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);