Fixed reconnect
[oweals/gnunet.git] / src / fs / gnunet-service-fs_cp.c
index 527ca7677f198f396e408773eddc709ccb0551e5..69fb75be6f3f76e92767e63e9270df16d16ad5a6 100644 (file)
@@ -335,7 +335,13 @@ get_latency (const struct GNUNET_TRANSPORT_ATS_Information *atsi)
     atsi++;
   if (ntohl (atsi->type) == GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR)
   {
-    GNUNET_break (0);
+    static int once;
+
+    if (!once)
+    {
+      once = 1;
+      GNUNET_break (0);
+    }
     /* how can we not have latency data? */
     return GNUNET_TIME_UNIT_SECONDS;
   }