From 12121a352989e9e5dd890af7173045bc119db414 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Mar 2015 23:08:34 +0000 Subject: -fix doxygen, make function static, fix indentation --- src/gns/plugin_rest_gns.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/gns/plugin_rest_gns.c') diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c index 345298849..60ccb23c0 100644 --- a/src/gns/plugin_rest_gns.c +++ b/src/gns/plugin_rest_gns.c @@ -88,7 +88,7 @@ struct LookupHandle /** * ID of a task associated with the resolution process. */ - struct GNUNET_SCHEDULER_Task * timeout_task; + struct GNUNET_SCHEDULER_Task * timeout_task; /** * The root of the received JSON or NULL @@ -149,11 +149,13 @@ struct LookupHandle }; + /** - * Cleanup lookup handle - * @praram handle Handle to clean up + * Cleanup lookup handle. + * + * @param handle Handle to clean up */ -void +static void cleanup_handle (struct LookupHandle *handle) { GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, @@ -218,6 +220,7 @@ create_json_response (const char *data) return resp; } + /** * Task run on shutdown. Cleans up everything. * @@ -234,6 +237,7 @@ do_error (void *cls, cleanup_handle (handle); } + /** * Create json representation of a GNSRECORD * @@ -525,7 +529,7 @@ parse_url (const char *url, struct LookupHandle *handle) } handle->type = GNUNET_GNSRECORD_typename_to_number (type); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Got type: %s\n", type); + "Got type: %s\n", type); return GNUNET_OK; } -- cgit v1.2.3