gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7348 - GNUnet/src/util/error


From: gnunet
Subject: [GNUnet-SVN] r7348 - GNUnet/src/util/error
Date: Fri, 27 Jun 2008 12:53:30 -0600 (MDT)

Author: grothoff
Date: 2008-06-27 12:53:30 -0600 (Fri, 27 Jun 2008)
New Revision: 7348

Modified:
   GNUnet/src/util/error/error.c
Log:
fix

Modified: GNUnet/src/util/error/error.c
===================================================================
--- GNUnet/src/util/error/error.c       2008-06-27 18:52:28 UTC (rev 7347)
+++ GNUnet/src/util/error/error.c       2008-06-27 18:53:30 UTC (rev 7348)
@@ -34,7 +34,7 @@
  * After how many seconds do we always print
  * that "message X was repeated N times"?
  */
-#define BULK_DELAY_THRESHOLD (30 * GNUNET_CRON_SECONDS)
+#define BULK_DELAY_THRESHOLD (90 * GNUNET_CRON_SECONDS)
 
 /**
  * After how many repetitions do we always print
@@ -137,12 +137,12 @@
 
   snprintf(msg,
           sizeof(msg),
-          _("%s Message `%.*s' repeated %u times in the last %llums\n"),
+          _("%s Message `%.*s' repeated %u times in the last %llus\n"),
           datestr,
           BULK_TRACK_SIZE,
           ctx->last_bulk,
           ctx->last_bulk_repeat,
-          GNUNET_get_time() - ctx->last_bulk_time);
+          (GNUNET_get_time() - ctx->last_bulk_time) / GNUNET_CRON_SECONDS);
   if (ctx != NULL)
     ctx->handler (ctx->cls, ctx->last_bulk_kind, datestr, msg);
   else





reply via email to

[Prev in Thread] Current Thread [Next in Thread]