commit bd44a3ee4cdf05ead052318e95a3146c1b541fbc parent 6ed1fc5f73fb4a348a846bb483414a0ba75dfa61 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 19 Dec 2015 20:36:20 +0100 properly return result (fixes compiler warning) Diffstat:
| M | src/mint/taler-mint-httpd_db.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c @@ -1592,13 +1592,13 @@ handle_wtid_data (void *cls, { if (GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us == execution_time.abs_value_us) - return TMH_RESPONSE_reply_deposit_unknown (ctx->connection); + ctx->res = TMH_RESPONSE_reply_deposit_unknown (ctx->connection); else - return TMH_RESPONSE_reply_deposit_pending (ctx->connection); + ctx->res = TMH_RESPONSE_reply_deposit_pending (ctx->connection); } else { - return TMH_RESPONSE_reply_deposit_wtid (ctx->connection); + ctx->res = TMH_RESPONSE_reply_deposit_wtid (ctx->connection); } }