diff options
Diffstat (limited to 'src/multicast/gnunet-service-multicast.c')
-rw-r--r-- | src/multicast/gnunet-service-multicast.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index 8041119b0..f157041bc 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c | |||
@@ -1837,10 +1837,10 @@ core_connected_cb (void *cls, const struct GNUNET_PeerIdentity *my_identity) | |||
1837 | 1837 | ||
1838 | nc = GNUNET_SERVER_notification_context_create (server, 1); | 1838 | nc = GNUNET_SERVER_notification_context_create (server, 1); |
1839 | GNUNET_SERVER_add_handlers (server, server_handlers); | 1839 | GNUNET_SERVER_add_handlers (server, server_handlers); |
1840 | GNUNET_SERVER_disconnect_notify (server, &client_notify_disconnect, NULL); | 1840 | GNUNET_SERVER_disconnect_notify (server, |
1841 | 1841 | &client_notify_disconnect, NULL); | |
1842 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task, | 1842 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
1843 | NULL); | 1843 | NULL); |
1844 | } | 1844 | } |
1845 | 1845 | ||
1846 | 1846 | ||
@@ -1852,7 +1852,8 @@ core_connected_cb (void *cls, const struct GNUNET_PeerIdentity *my_identity) | |||
1852 | * @param cfg configuration to use | 1852 | * @param cfg configuration to use |
1853 | */ | 1853 | */ |
1854 | static void | 1854 | static void |
1855 | run (void *cls, struct GNUNET_SERVER_Handle *srv, | 1855 | run (void *cls, |
1856 | struct GNUNET_SERVER_Handle *srv, | ||
1856 | const struct GNUNET_CONFIGURATION_Handle *c) | 1857 | const struct GNUNET_CONFIGURATION_Handle *c) |
1857 | { | 1858 | { |
1858 | cfg = c; | 1859 | cfg = c; |