aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-16 12:53:28 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-16 12:53:28 +0200
commitb6cfd30f7f59d686f0d12aa1b51372c452880ca9 (patch)
tree7ca8fda11d64fb7e52a5915c3eb2cc2e5f8a506a /src
parente2ae8c8ab4f61afacdb98587dd1dbedc00cd63ee (diff)
downloadgnunet-b6cfd30f7f59d686f0d12aa1b51372c452880ca9.tar.gz
gnunet-b6cfd30f7f59d686f0d12aa1b51372c452880ca9.zip
return error code
Diffstat (limited to 'src')
-rw-r--r--src/gns/plugin_rest_gns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 7f8d6fccf..a0a582a50 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -214,6 +214,7 @@ do_timeout (void *cls)
214{ 214{
215 struct RequestHandle *handle = cls; 215 struct RequestHandle *handle = cls;
216 handle->timeout_task = NULL; 216 handle->timeout_task = NULL;
217 handle->response_code = MHD_HTTP_REQUEST_TIMEOUT;
217 do_error (handle); 218 do_error (handle);
218} 219}
219 220