diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-19 21:08:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-19 21:08:40 +0200 |
commit | 247f82c088dd1575709a676ab87555514fa6445e (patch) | |
tree | d0a41eed8c3991a45eb06a4b549105cc3402d8c2 /src/exchange/taler-exchange-httpd_responses.c | |
parent | f8e62141f27c296b326fc810f18206d16d41b468 (diff) | |
download | exchange-247f82c088dd1575709a676ab87555514fa6445e.tar.gz exchange-247f82c088dd1575709a676ab87555514fa6445e.tar.bz2 exchange-247f82c088dd1575709a676ab87555514fa6445e.zip |
move reply_transfer_pending to where it belongs
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 85575b679..c31c248f5 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -15,7 +15,7 @@ */ /** * @file taler-exchange-httpd_responses.c - * @brief API for generating the various replies of the exchange; these + * @brief API for generating genric replies of the exchange; these * functions are called TEH_RESPONSE_reply_ and they generate * and queue MHD response objects for a given connection. * @author Florian Dold @@ -899,23 +899,4 @@ TEH_RESPONSE_reply_transaction_unknown (struct MHD_Connection *connection, } -/** - * A merchant asked for details about a deposit, but - * we did not execute the deposit yet. Generate a 202 reply. - * - * @param connection connection to the client - * @param planned_exec_time planned execution time - * @return MHD result code - */ -int -TEH_RESPONSE_reply_transfer_pending (struct MHD_Connection *connection, - struct GNUNET_TIME_Absolute planned_exec_time) -{ - return TEH_RESPONSE_reply_json_pack (connection, - MHD_HTTP_ACCEPTED, - "{s:o}", - "execution_time", GNUNET_JSON_from_time_abs (planned_exec_time)); -} - - /* end of taler-exchange-httpd_responses.c */ |