fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 21 Oct 2010 08:54:24 +0000 (08:54 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 21 Oct 2010 08:54:24 +0000 (08:54 +0000)
src/util/load.c

index fd8a5afabbd759045b073d646582cd81ae84d675..be33ac1afe6b809fe84f1ec755814c782e7833bb 100644 (file)
@@ -141,7 +141,7 @@ calculate_load (struct GNUNET_LOAD_Value *load)
   double n;
   double nm1;
 
-  if (load->cummulative_request_count == 0)
+  if (load->cummulative_request_count <= 1)
     return;
   /* calcuate std dev of latency; we have for n values of "i" that: