diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-08 22:28:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-08 22:28:52 +0200 |
commit | 80b29ed2aef0c50a9755809816d781afc08ef71e (patch) | |
tree | d1dbc750be7e3017c6ee3521c19ba8073203b9ed /src/mint/taler-mint-httpd_withdraw.c | |
parent | 42147c2501d06c44c8bfbc052d72fb2e97eaa2c6 (diff) | |
download | exchange-80b29ed2aef0c50a9755809816d781afc08ef71e.tar.gz exchange-80b29ed2aef0c50a9755809816d781afc08ef71e.tar.bz2 exchange-80b29ed2aef0c50a9755809816d781afc08ef71e.zip |
indentation and minor updates to reflect latest API docs
Diffstat (limited to 'src/mint/taler-mint-httpd_withdraw.c')
-rw-r--r-- | src/mint/taler-mint-httpd_withdraw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_withdraw.c b/src/mint/taler-mint-httpd_withdraw.c index 98228217e..cd79532b2 100644 --- a/src/mint/taler-mint-httpd_withdraw.c +++ b/src/mint/taler-mint-httpd_withdraw.c @@ -61,7 +61,7 @@ TMH_WITHDRAW_handler_withdraw_status (struct TMH_RequestHandler *rh, if (GNUNET_NO == res) return MHD_YES; /* parse error */ return TMH_DB_execute_withdraw_status (connection, - &reserve_pub); + &reserve_pub); } @@ -132,7 +132,7 @@ TMH_WITHDRAW_handler_withdraw_sign (struct TMH_RequestHandler *rh, if (NULL == dki) { TMH_PARSE_release_data (spec); - return TMH_RESPONSE_reply_arg_invalid (connection, + return TMH_RESPONSE_reply_arg_unknown (connection, "denom_pub"); } TALER_amount_ntoh (&amount, @@ -165,8 +165,8 @@ TMH_WITHDRAW_handler_withdraw_sign (struct TMH_RequestHandler *rh, { TALER_LOG_WARNING ("Client supplied invalid signature for /withdraw/sign request\n"); TMH_PARSE_release_data (spec); - return TMH_RESPONSE_reply_arg_invalid (connection, - "reserve_sig"); + return TMH_RESPONSE_reply_signature_invalid (connection, + "reserve_sig"); } res = TMH_DB_execute_withdraw_sign (connection, &wsrd.reserve_pub, |