aboutsummaryrefslogtreecommitdiff
path: root/src/template/gnunet-service-template.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
commit502af2167f7c218366666ca4944bd7cc54b5b19a (patch)
treea91fec5cc9769d260640bd91c6633cb9cf395524 /src/template/gnunet-service-template.c
parent03af5a603b7cc53432249d5854cd412aa90dde0d (diff)
downloadgnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz
gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip
indentation
Diffstat (limited to 'src/template/gnunet-service-template.c')
-rw-r--r--src/template/gnunet-service-template.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/template/gnunet-service-template.c b/src/template/gnunet-service-template.c
index 96eb11e61..8ee88c961 100644
--- a/src/template/gnunet-service-template.c
+++ b/src/template/gnunet-service-template.c
@@ -35,8 +35,7 @@
35 * @param tc unused 35 * @param tc unused
36 */ 36 */
37static void 37static void
38cleanup_task (void *cls, 38cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
39 const struct GNUNET_SCHEDULER_TaskContext *tc)
40{ 39{
41 /* FIXME: do clean up here */ 40 /* FIXME: do clean up here */
42} 41}
@@ -61,8 +60,7 @@ run (void *cls,
61 /* FIXME: do setup here */ 60 /* FIXME: do setup here */
62 GNUNET_SERVER_add_handlers (server, handlers); 61 GNUNET_SERVER_add_handlers (server, handlers);
63 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 62 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
64 &cleanup_task, 63 &cleanup_task, NULL);
65 NULL);
66} 64}
67 65
68 66
@@ -80,8 +78,7 @@ main (int argc, char *const *argv)
80 GNUNET_SERVICE_run (argc, 78 GNUNET_SERVICE_run (argc,
81 argv, 79 argv,
82 "template", 80 "template",
83 GNUNET_SERVICE_OPTION_NONE, 81 GNUNET_SERVICE_OPTION_NONE, &run, NULL)) ? 0 : 1;
84 &run, NULL)) ? 0 : 1;
85} 82}
86 83
87/* end of gnunet-service-template.c */ 84/* end of gnunet-service-template.c */