diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-31 11:17:24 +0200 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-31 11:17:24 +0200 |
commit | 26d2c0d58612fb233cc25b2739bcf96693f5cd85 (patch) | |
tree | 16baec844f4a5d9b5383d91589fe4c8f74eec725 /src/rest/plugin_rest_copying.c | |
parent | b5660e0a33f4c7a819de0b5056172f78f912e352 (diff) | |
parent | ca4c9eae269c34765df26699fe756860c7827693 (diff) | |
download | gnunet-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.c | 6 |
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); |