gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13458 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r13458 - gnunet/src/util
Date: Fri, 29 Oct 2010 15:47:56 +0200

Author: wachs
Date: 2010-10-29 15:47:56 +0200 (Fri, 29 Oct 2010)
New Revision: 13458

Modified:
   gnunet/src/util/bandwidth.c
Log:
fixed bugs caused by eclipse refactoring


Modified: gnunet/src/util/bandwidth.c
===================================================================
--- gnunet/src/util/bandwidth.c 2010-10-29 13:44:26 UTC (rev 13457)
+++ gnunet/src/util/bandwidth.c 2010-10-29 13:47:56 UTC (rev 13458)
@@ -84,8 +84,8 @@
 #if DEBUG_BANDWIDTH
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Bandwidth has %llu bytes available until deadline in %llums\n",
-             (unsigned long long) ((b * deadline.abs_value + 500LL) / 1000LL),
-             deadline.abs_value);
+             (unsigned long long) ((b * deadline.rel_value + 500LL) / 1000LL),
+             deadline.rel_value);
 #endif
   return (b * deadline.rel_value + 500LL) / 1000LL;
 }
@@ -119,7 +119,7 @@
 #if DEBUG_BANDWIDTH
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Bandwidth suggests delay of %llu ms for %llu bytes of traffic\n",
-             (unsigned long long) ret.abs_value,
+             (unsigned long long) ret.rel_value,
              (unsigned long long) size);
 #endif
   return ret;
@@ -297,7 +297,7 @@
              "Tracker %p delay for %u bytes is %llu ms\n",
              av,
              (unsigned int) size,
-             (unsigned long long) ret.abs_value);
+             (unsigned long long) ret.rel_value);
 #endif
   return ret;
 }




reply via email to

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