aboutsummaryrefslogtreecommitdiff
path: root/src/rest/plugin_rest_copying.c
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-03-31 11:17:24 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-03-31 11:17:24 +0200
commit26d2c0d58612fb233cc25b2739bcf96693f5cd85 (patch)
tree16baec844f4a5d9b5383d91589fe4c8f74eec725 /src/rest/plugin_rest_copying.c
parentb5660e0a33f4c7a819de0b5056172f78f912e352 (diff)
parentca4c9eae269c34765df26699fe756860c7827693 (diff)
downloadgnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.tar.gz
gnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/rest/plugin_rest_copying.c')
-rw-r--r--src/rest/plugin_rest_copying.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rest/plugin_rest_copying.c b/src/rest/plugin_rest_copying.c
index 6d074d3d1..52783a81a 100644
--- a/src/rest/plugin_rest_copying.c
+++ b/src/rest/plugin_rest_copying.c
@@ -138,9 +138,9 @@ options_cont (struct GNUNET_REST_RequestHandle *con_handle,
138 struct RequestHandle *handle = cls; 138 struct RequestHandle *handle = cls;
139 139
140 resp = GNUNET_REST_create_response (NULL); 140 resp = GNUNET_REST_create_response (NULL);
141 MHD_add_response_header (resp, 141 GNUNET_assert (MHD_NO != MHD_add_response_header (resp,
142 "Access-Control-Allow-Methods", 142 "Access-Control-Allow-Methods",
143 MHD_HTTP_METHOD_GET); 143 MHD_HTTP_METHOD_GET));
144 handle->proc (handle->proc_cls, 144 handle->proc (handle->proc_cls,
145 resp, 145 resp,
146 MHD_HTTP_OK); 146 MHD_HTTP_OK);