aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse')
-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 ();