diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
commit | a89c7a30d499bac96890929d745fad063eb707b2 (patch) | |
tree | cb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/nse | |
parent | d70d18816c37c30e02977a2cc2bdb2368e95a4de (diff) | |
download | gnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip |
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 5 |
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 | */ |
1346 | static void | 1345 | static void |
1347 | core_init (void *cls, struct GNUNET_CORE_Handle *server, | 1346 | core_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 (); |