summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-11 23:10:32 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-11 23:10:32 +0100
commit3743d200ad6b9341c9cf782d2f27c5fe45de065a (patch)
tree71fe665f38e621e538565c5e63d5a47db7a5ca00 /src/exchange
parent4587a79071fb7d5b18401d0df3e39accf9b81625 (diff)
downloadexchange-3743d200ad6b9341c9cf782d2f27c5fe45de065a.tar.gz
exchange-3743d200ad6b9341c9cf782d2f27c5fe45de065a.tar.bz2
exchange-3743d200ad6b9341c9cf782d2f27c5fe45de065a.zip
misc clean ups
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd.c5
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c3
-rw-r--r--src/exchange/taler-exchange-httpd_keys.h4
3 files changed, 5 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 9717c5eb..0eb4de59 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -32,6 +32,7 @@
#include "taler-exchange-httpd_deposit.h"
#include "taler-exchange-httpd_deposits_get.h"
#include "taler-exchange-httpd_keystate.h"
+#include "taler-exchange-httpd_keys.h"
#include "taler-exchange-httpd_link.h"
#include "taler-exchange-httpd_management.h"
#include "taler-exchange-httpd_melt.h"
@@ -672,8 +673,8 @@ handle_get_management (const struct TEH_RequestHandler *rh,
GNUNET_break_op (0);
return r404 (connection, "/management/*");
}
- GNUNET_break (0); // not implemented
- return MHD_NO;
+ return TEH_keys_management_get_handler (rh,
+ connection);
}
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index 5accf6e1..88ab2e30 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -2121,8 +2121,7 @@ add_future_signkey_cb (void *cls,
MHD_RESULT
TEH_keys_management_get_handler (const struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
- const char *const args[])
+ struct MHD_Connection *connection)
{
struct KeyStateHandle *ksh;
json_t *reply;
diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h
index e91b1e16..5a1314f1 100644
--- a/src/exchange/taler-exchange-httpd_keys.h
+++ b/src/exchange/taler-exchange-httpd_keys.h
@@ -233,13 +233,11 @@ TEH_keys_get_handler (const struct TEH_RequestHandler *rh,
*
* @param rh context of the handler
* @param connection the MHD connection to handle
- * @param args array of additional options (must be empty for this function)
* @return MHD result code
*/
MHD_RESULT
TEH_keys_management_get_handler (const struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
- const char *const args[]);
+ struct MHD_Connection *connection);
/**