diff options
Diffstat (limited to 'src/dht/gnunet-service-xdht.c')
-rw-r--r-- | src/dht/gnunet-service-xdht.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-xdht.c b/src/dht/gnunet-service-xdht.c index f6c7c5167..8a60a8d9d 100644 --- a/src/dht/gnunet-service-xdht.c +++ b/src/dht/gnunet-service-xdht.c | |||
@@ -17,14 +17,12 @@ | |||
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | Boston, MA 02110-1301, USA. | 18 | Boston, MA 02110-1301, USA. |
19 | */ | 19 | */ |
20 | |||
21 | /** | 20 | /** |
22 | * @file dht/gnunet-service-xdht.c | 21 | * @file dht/gnunet-service-xdht.c |
23 | * @brief GNUnet DHT service | 22 | * @brief GNUnet DHT service |
24 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
25 | * @author Nathan Evans | 24 | * @author Nathan Evans |
26 | */ | 25 | */ |
27 | |||
28 | #include "platform.h" | 26 | #include "platform.h" |
29 | #include "gnunet_block_lib.h" | 27 | #include "gnunet_block_lib.h" |
30 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
@@ -125,9 +123,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
125 | shutdown_task (NULL); | 123 | shutdown_task (NULL); |
126 | return; | 124 | return; |
127 | } | 125 | } |
128 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 126 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
129 | &shutdown_task, | 127 | NULL); |
130 | NULL); | ||
131 | } | 128 | } |
132 | 129 | ||
133 | 130 | ||