aboutsummaryrefslogtreecommitdiff
path: root/src/gns/plugin_rest_gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/plugin_rest_gns.c')
-rw-r--r--src/gns/plugin_rest_gns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 8a3f26041..1315e6cda 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -632,9 +632,10 @@ options_cont (struct RestConnectionDataHandle *con_handle,
632 MHD_add_response_header (resp, 632 MHD_add_response_header (resp,
633 "Access-Control-Allow-Methods", 633 "Access-Control-Allow-Methods",
634 MHD_HTTP_METHOD_GET); 634 MHD_HTTP_METHOD_GET);
635 handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); 635 handle->proc (handle->proc_cls,
636 resp,
637 MHD_HTTP_OK);
636 cleanup_handle (handle); 638 cleanup_handle (handle);
637 return;
638} 639}
639 640
640 641
@@ -671,7 +672,6 @@ rest_gns_process_request(struct RestConnectionDataHandle *conndata_handle,
671} 672}
672 673
673 674
674
675/** 675/**
676 * Entry point for the plugin. 676 * Entry point for the plugin.
677 * 677 *