aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/plugin_rest_gns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 21638fdf6..888688798 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -190,6 +190,9 @@ do_error (void *cls)
190 json_t *json_error = json_object(); 190 json_t *json_error = json_object();
191 char *response; 191 char *response;
192 192
193 if (NULL != handle->timeout_task)
194 GNUNET_SCHEDULER_cancel (handle->timeout_task);
195 handle->timeout_task = NULL;
193 if (NULL == handle->emsg) 196 if (NULL == handle->emsg)
194 handle->emsg = GNUNET_strdup(GNUNET_REST_GNS_ERROR_UNKNOWN); 197 handle->emsg = GNUNET_strdup(GNUNET_REST_GNS_ERROR_UNKNOWN);
195 198