gnunet-ext

Template for writing GNUnet extensions
Log | Files | Refs | README | LICENSE

commit 0202b49e53021b5edf296e1ff2396443d45755a9
parent a5dbec30d3fa303b598622a9851d1ad40d295c42
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  8 Jun 2014 18:19:03 +0000

-fix comments

Diffstat:
Msrc/ext/gnunet-service-ext.c | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/ext/gnunet-service-ext.c b/src/ext/gnunet-service-ext.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - (C) + (C) GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -38,8 +38,6 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg; * @param cls closure * @param client identification of the client * @param message the actual message - * @return GNUNET_OK to keep the connection open, - * GNUNET_SYSERR to close it (signal serious error) */ static void handle_ext (void *cls, @@ -72,8 +70,7 @@ shutdown_task (void *cls, */ static void handle_client_disconnect (void *cls, - struct GNUNET_SERVER_Client - * client) + struct GNUNET_SERVER_Client * client) { } @@ -96,7 +93,7 @@ run (void *cls, }; cfg = c; GNUNET_SERVER_add_handlers (server, handlers); - GNUNET_SERVER_disconnect_notify (server, + GNUNET_SERVER_disconnect_notify (server, &handle_client_disconnect, NULL); GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,