diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-08 18:19:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-08 18:19:03 +0000 |
commit | 0202b49e53021b5edf296e1ff2396443d45755a9 (patch) | |
tree | c660144bea097180b3a6744fc2de8d9e366d5d86 /src | |
parent | a5dbec30d3fa303b598622a9851d1ad40d295c42 (diff) | |
download | gnunet-ext-0202b49e53021b5edf296e1ff2396443d45755a9.tar.gz gnunet-ext-0202b49e53021b5edf296e1ff2396443d45755a9.zip |
-fix comments
Diffstat (limited to 'src')
-rw-r--r-- | src/ext/gnunet-service-ext.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ext/gnunet-service-ext.c b/src/ext/gnunet-service-ext.c index 733b99b..20bb2d8 100644 --- a/src/ext/gnunet-service-ext.c +++ b/src/ext/gnunet-service-ext.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) | 3 | (C) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -38,8 +38,6 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg; | |||
38 | * @param cls closure | 38 | * @param cls closure |
39 | * @param client identification of the client | 39 | * @param client identification of the client |
40 | * @param message the actual message | 40 | * @param message the actual message |
41 | * @return GNUNET_OK to keep the connection open, | ||
42 | * GNUNET_SYSERR to close it (signal serious error) | ||
43 | */ | 41 | */ |
44 | static void | 42 | static void |
45 | handle_ext (void *cls, | 43 | handle_ext (void *cls, |
@@ -72,8 +70,7 @@ shutdown_task (void *cls, | |||
72 | */ | 70 | */ |
73 | static void | 71 | static void |
74 | handle_client_disconnect (void *cls, | 72 | handle_client_disconnect (void *cls, |
75 | struct GNUNET_SERVER_Client | 73 | struct GNUNET_SERVER_Client * client) |
76 | * client) | ||
77 | { | 74 | { |
78 | } | 75 | } |
79 | 76 | ||
@@ -96,7 +93,7 @@ run (void *cls, | |||
96 | }; | 93 | }; |
97 | cfg = c; | 94 | cfg = c; |
98 | GNUNET_SERVER_add_handlers (server, handlers); | 95 | GNUNET_SERVER_add_handlers (server, handlers); |
99 | GNUNET_SERVER_disconnect_notify (server, | 96 | GNUNET_SERVER_disconnect_notify (server, |
100 | &handle_client_disconnect, | 97 | &handle_client_disconnect, |
101 | NULL); | 98 | NULL); |
102 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 99 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, |