From: Schanzenbach, Martin <mschanzenbach@posteo.de> Date: Tue, 16 Jul 2019 10:53:28 +0000 (+0200) Subject: return error code X-Git-Tag: v0.11.6~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6cfd30f7f59d686f0d12aa1b51372c452880ca9;p=oweals%2Fgnunet.git return error code --- 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) { struct RequestHandle *handle = cls; handle->timeout_task = NULL; + handle->response_code = MHD_HTTP_REQUEST_TIMEOUT; do_error (handle); }