[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35440 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35440 - gnunet/src/gns |
Date: |
Tue, 24 Mar 2015 00:08:34 +0100 |
Author: grothoff
Date: 2015-03-24 00:08:34 +0100 (Tue, 24 Mar 2015)
New Revision: 35440
Modified:
gnunet/src/gns/plugin_rest_gns.c
Log:
-fix doxygen, make function static, fix indentation
Modified: gnunet/src/gns/plugin_rest_gns.c
===================================================================
--- gnunet/src/gns/plugin_rest_gns.c 2015-03-23 22:07:37 UTC (rev 35439)
+++ gnunet/src/gns/plugin_rest_gns.c 2015-03-23 23:08:34 UTC (rev 35440)
@@ -88,7 +88,7 @@
/**
* 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 @@
};
+
/**
- * 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 @@
return resp;
}
+
/**
* Task run on shutdown. Cleans up everything.
*
@@ -234,6 +237,7 @@
cleanup_handle (handle);
}
+
/**
* Create json representation of a GNSRECORD
*
@@ -525,7 +529,7 @@
}
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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35440 - gnunet/src/gns,
gnunet <=