eh, oops
authorFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 23:13:29 +0000 (00:13 +0100)
committerFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 23:13:29 +0000 (00:13 +0100)
src/set/gnunet-service-set_union.c

index f6737ba650859ad25672ebc23a7340850ab8b1d3..b5b60207411c1ed3c6a417e8139b454d35f6d12c 100644 (file)
@@ -892,8 +892,8 @@ handle_p2p_strata_estimator (void *cls,
     set_debug = getenv ("GNUNET_SET_BENCHMARK");
     if ( (NULL != set_debug) && (0 == strcmp (set_debug, "1")) )
     {
-      FILE *f = fopen ("set.log\n", "a");
-      fprintf (f, "%llu", (unsigned long long) diff);
+      FILE *f = fopen ("set.log", "a");
+      fprintf (f, "%llu\n", (unsigned long long) diff);
       fclose (f);
     }
   }