Temporal fix: Don't fail when peers reconnect on a better path
authorBart Polot <bart@net.in.tum.de>
Mon, 14 Nov 2011 14:04:31 +0000 (14:04 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 14 Nov 2011 14:04:31 +0000 (14:04 +0000)
src/mesh/test_mesh_small.c

index 42390e1a6e7ce1efdae6a6fab3ae4c34c97fd69a..54c5eb45f44d6ca3d3c9997c3e4ac3545301546e 100644 (file)
@@ -904,7 +904,7 @@ main (int argc, char *argv[])
 #if REMOVE_DIR
   GNUNET_DISK_directory_remove ("/tmp/test_mesh_small");
 #endif
-  if (ok_goal != ok)
+  if (ok_goal < ok)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "***************** test: FAILED! (%d/%d)\n", ok, ok_goal);