aboutsummaryrefslogtreecommitdiff
path: root/src/mint
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-12-19 20:36:20 +0100
committerChristian Grothoff <christian@grothoff.org>2015-12-19 20:36:20 +0100
commitbd44a3ee4cdf05ead052318e95a3146c1b541fbc (patch)
tree330630d32a9d391583f7192f165c17178074382b /src/mint
parent6ed1fc5f73fb4a348a846bb483414a0ba75dfa61 (diff)
properly return result (fixes compiler warning)
Diffstat (limited to 'src/mint')
-rw-r--r--src/mint/taler-mint-httpd_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 7f0fdb0a9..2b4ade595 100644
--- 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);
}
}