From acc6f8a81932a50650ab2aa2d52d6f873f8a2060 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 14 Apr 2013 20:16:34 +0000 Subject: [PATCH] -fix #2857 --- src/fs/gnunet-service-fs_cp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 4624288c4..7c8921ec8 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c @@ -347,13 +347,8 @@ GSF_update_peer_latency_ (const struct GNUNET_PeerIdentity *id, struct GSF_ConnectedPeer *cp; cp = GSF_peer_get_ (id); - if (NULL == cp) - { - GNUNET_break (0); - return; - } - + return; /* we're not yet connected at the core level, ignore */ GNUNET_LOAD_value_set_decline (cp->ppd.transmission_delay, latency); /* LATER: merge atsi into cp's performance data (if we ever care...) */ } -- 2.25.1