aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-service-nse.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
commita89c7a30d499bac96890929d745fad063eb707b2 (patch)
treecb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/nse/gnunet-service-nse.c
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/nse/gnunet-service-nse.c')
-rw-r--r--src/nse/gnunet-service-nse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index b26305ce3..7aabca6b5 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -1340,17 +1340,16 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1340 * Called on core init/fail. 1340 * Called on core init/fail.
1341 * 1341 *
1342 * @param cls service closure 1342 * @param cls service closure
1343 * @param server handle to the server for this service
1344 * @param identity the public identity of this peer 1343 * @param identity the public identity of this peer
1345 */ 1344 */
1346static void 1345static void
1347core_init (void *cls, struct GNUNET_CORE_Handle *server, 1346core_init (void *cls,
1348 const struct GNUNET_PeerIdentity *identity) 1347 const struct GNUNET_PeerIdentity *identity)
1349{ 1348{
1350 struct GNUNET_TIME_Absolute now; 1349 struct GNUNET_TIME_Absolute now;
1351 struct GNUNET_TIME_Absolute prev_time; 1350 struct GNUNET_TIME_Absolute prev_time;
1352 1351
1353 if (NULL == server) 1352 if (NULL == identity)
1354 { 1353 {
1355 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Connection to core FAILED!\n"); 1354 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Connection to core FAILED!\n");
1356 GNUNET_SCHEDULER_shutdown (); 1355 GNUNET_SCHEDULER_shutdown ();