summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-09-26 13:56:33 +0200
committerChristian Grothoff <christian@grothoff.org>2017-09-26 13:56:33 +0200
commit472853442f481e309d38e46d40ba22e01f76f1f1 (patch)
tree193720cec3c71add324644e104701c374d6c7fad /src/exchange/taler-exchange-httpd_mhd.c
parenta8de810bf7b78308976791b78311c36b69139b26 (diff)
downloadexchange-472853442f481e309d38e46d40ba22e01f76f1f1.tar.gz
exchange-472853442f481e309d38e46d40ba22e01f76f1f1.tar.bz2
exchange-472853442f481e309d38e46d40ba22e01f76f1f1.zip
fix calculation of 'Expires:' header, also handle HTTP HEAD requests
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.c')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.c b/src/exchange/taler-exchange-httpd_mhd.c
index ee1781a1e..e76ada2cd 100644
--- a/src/exchange/taler-exchange-httpd_mhd.c
+++ b/src/exchange/taler-exchange-httpd_mhd.c
@@ -89,10 +89,10 @@ TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh,
*/
int
TEH_MHD_handler_agpl_redirect (struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size)
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size)
{
const char *agpl =
"This server is licensed under the Affero GPL. You will now be redirected to the source code.";