aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-fcfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index b00510ae7..82d73f6de 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -226,11 +226,9 @@ static unsigned long long port;
226 * Task run whenever HTTP server operations are pending. 226 * Task run whenever HTTP server operations are pending.
227 * 227 *
228 * @param cls unused 228 * @param cls unused
229 * @param tc scheduler context
230 */ 229 */
231static void 230static void
232do_httpd (void *cls, 231do_httpd (void *cls);
233 const struct GNUNET_SCHEDULER_TaskContext *tc);
234 232
235 233
236/** 234/**
@@ -840,11 +838,9 @@ run_httpd ()
840 * Task run whenever HTTP server operations are pending. 838 * Task run whenever HTTP server operations are pending.
841 * 839 *
842 * @param cls unused 840 * @param cls unused
843 * @param tc scheduler context
844 */ 841 */
845static void 842static void
846do_httpd (void *cls, 843do_httpd (void *cls)
847 const struct GNUNET_SCHEDULER_TaskContext *tc)
848{ 844{
849 httpd_task = NULL; 845 httpd_task = NULL;
850 MHD_run (httpd); 846 MHD_run (httpd);
@@ -856,11 +852,9 @@ do_httpd (void *cls,
856 * Task run on shutdown. Cleans up everything. 852 * Task run on shutdown. Cleans up everything.
857 * 853 *
858 * @param cls unused 854 * @param cls unused
859 * @param tc scheduler context
860 */ 855 */
861static void 856static void
862do_shutdown (void *cls, 857do_shutdown (void *cls)
863 const struct GNUNET_SCHEDULER_TaskContext *tc)
864{ 858{
865 if (NULL != httpd_task) 859 if (NULL != httpd_task)
866 { 860 {