From: Bart Polot Date: Mon, 14 Nov 2011 14:04:31 +0000 (+0000) Subject: Temporal fix: Don't fail when peers reconnect on a better path X-Git-Tag: initial-import-from-subversion-38251~15942 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5fb228f43f4d1d519209827dc6674c95d3d4a517;p=oweals%2Fgnunet.git Temporal fix: Don't fail when peers reconnect on a better path --- diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 42390e1a6..54c5eb45f 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -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);