fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 28 Apr 2011 19:10:19 +0000 (19:10 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 28 Apr 2011 19:10:19 +0000 (19:10 +0000)
src/hostlist/test_gnunet_daemon_hostlist_learning.c

index 4c466d5c7bab5b768a72382a9c5b1c98b2c8ba67..96dd038390acfba515a0e81502ae01af7bf529b8 100644 (file)
@@ -197,11 +197,7 @@ process_downloads (void *cls,
                   uint64_t value,
                   int is_persistent)
 {
-  fprintf (stderr,
-          "New stat: %s has value %llu\n",
-          name,
-          (unsigned long long) value);
-  if ( (value == 2) && 
+  if ( (value >= 2) && 
        (learned_hostlist_downloaded == GNUNET_NO) )
     {
       GNUNET_log (GNUNET_ERROR_TYPE_INFO,