gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r14182 - gnunet/src/util
Date: Fri, 14 Jan 2011 20:30:05 +0100

Author: grothoff
Date: 2011-01-14 20:30:05 +0100 (Fri, 14 Jan 2011)
New Revision: 14182

Modified:
   gnunet/src/util/bandwidth.c
   gnunet/src/util/scheduler.c
Log:
redundant

Modified: gnunet/src/util/bandwidth.c
===================================================================
--- gnunet/src/util/bandwidth.c 2011-01-14 19:21:49 UTC (rev 14181)
+++ gnunet/src/util/bandwidth.c 2011-01-14 19:30:05 UTC (rev 14182)
@@ -185,7 +185,6 @@
       max_carry = av->available_bytes_per_s__ * av->max_carry_s__;
       if (max_carry < GNUNET_SERVER_MAX_MESSAGE_SIZE)
          max_carry = GNUNET_SERVER_MAX_MESSAGE_SIZE;
-      av->consumption_since_last_update__ = -left_bytes;
       if (max_carry > left_bytes)
         av->consumption_since_last_update__ = -left_bytes;
       else

Modified: gnunet/src/util/scheduler.c
===================================================================
--- gnunet/src/util/scheduler.c 2011-01-14 19:21:49 UTC (rev 14181)
+++ gnunet/src/util/scheduler.c 2011-01-14 19:30:05 UTC (rev 14182)
@@ -740,10 +740,9 @@
                                      task_cls,
                                      GNUNET_SCHEDULER_REASON_STARTUP);
 #if ENABLE_WINDOWS_WORKAROUNDS
-  GNUNET_SCHEDULER_add_continuation (GNUNET_OS_install_parent_control_handler,
+  GNUNET_SCHEDULER_add_continuation (&GNUNET_OS_install_parent_control_handler,
                                      NULL, GNUNET_SCHEDULER_REASON_STARTUP);
 #endif
-
   last_tr = 0;
   busy_wait_warning = 0;
   while ((pending != NULL) ||




reply via email to

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