diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-07-16 12:53:28 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-07-16 12:53:28 +0200 |
commit | b6cfd30f7f59d686f0d12aa1b51372c452880ca9 (patch) | |
tree | 7ca8fda11d64fb7e52a5915c3eb2cc2e5f8a506a /src/gns/plugin_rest_gns.c | |
parent | e2ae8c8ab4f61afacdb98587dd1dbedc00cd63ee (diff) | |
download | gnunet-b6cfd30f7f59d686f0d12aa1b51372c452880ca9.tar.gz gnunet-b6cfd30f7f59d686f0d12aa1b51372c452880ca9.zip |
return error code
Diffstat (limited to 'src/gns/plugin_rest_gns.c')
-rw-r--r-- | src/gns/plugin_rest_gns.c | 1 |
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 | ||