-fix #2857
authorChristian Grothoff <christian@grothoff.org>
Sun, 14 Apr 2013 20:16:34 +0000 (20:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 14 Apr 2013 20:16:34 +0000 (20:16 +0000)
src/fs/gnunet-service-fs_cp.c

index 4624288c4e3e00b3ced56134f162f0be0d6036b7..7c8921ec8b59c0a25f88bfb4b89ef5a935612086 100644 (file)
@@ -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...) */
 }