summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refresh_link.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-23 21:12:27 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-23 21:12:27 +0100
commitc22efccce8ce864ff8fd84fa968f5c0d44c36d3d (patch)
tree97713b6ca9c4580e63ab449c7d18b8c3b208cc7c /src/exchange/taler-exchange-httpd_refresh_link.c
parent8f006e779e12fed604182faa096ebe6b5726d04d (diff)
downloadexchange-c22efccce8ce864ff8fd84fa968f5c0d44c36d3d.tar.gz
exchange-c22efccce8ce864ff8fd84fa968f5c0d44c36d3d.tar.bz2
exchange-c22efccce8ce864ff8fd84fa968f5c0d44c36d3d.zip
migrate parsing logic to libtalermhd
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refresh_link.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_link.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_link.c b/src/exchange/taler-exchange-httpd_refresh_link.c
index 10aed2df8..c3d36e29b 100644
--- a/src/exchange/taler-exchange-httpd_refresh_link.c
+++ b/src/exchange/taler-exchange-httpd_refresh_link.c
@@ -25,7 +25,6 @@
#include <jansson.h>
#include <microhttpd.h>
#include "taler_mhd_lib.h"
-#include "taler-exchange-httpd_parsing.h"
#include "taler-exchange-httpd_mhd.h"
#include "taler-exchange-httpd_refresh_link.h"
#include "taler-exchange-httpd_responses.h"
@@ -204,11 +203,11 @@ TEH_REFRESH_handler_refresh_link (struct TEH_RequestHandler *rh,
memset (&ctx,
0,
sizeof (ctx));
- res = TEH_PARSE_mhd_request_arg_data (connection,
- "coin_pub",
- &ctx.coin_pub,
- sizeof (struct
- TALER_CoinSpendPublicKeyP));
+ res = TALER_MHD_parse_request_arg_data (connection,
+ "coin_pub",
+ &ctx.coin_pub,
+ sizeof (struct
+ TALER_CoinSpendPublicKeyP));
if (GNUNET_SYSERR == res)
return MHD_NO;
if (GNUNET_OK != res)