gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33224 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r33224 - gnunet/src/ats
Date: Thu, 8 May 2014 16:15:17 +0200

Author: wachs
Date: 2014-05-08 16:15:17 +0200 (Thu, 08 May 2014)
New Revision: 33224

Modified:
   gnunet/src/ats/plugin_ats_proportional.c
Log:
comment


Modified: gnunet/src/ats/plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/plugin_ats_proportional.c    2014-05-08 13:58:57 UTC (rev 
33223)
+++ gnunet/src/ats/plugin_ats_proportional.c    2014-05-08 14:15:17 UTC (rev 
33224)
@@ -1366,7 +1366,6 @@
     GNUNET_break (0);
     return;
   }
-
   net = asi->network;
 
   if (GNUNET_NO == session_only)
@@ -1415,6 +1414,7 @@
     if (GNUNET_SYSERR == addresse_decrement (s, net, GNUNET_NO, GNUNET_YES))
       GNUNET_break(0);
     distribute_bandwidth_in_network (s, net, NULL);
+
     if (NULL == (new_address = GAS_proportional_get_preferred_address (s, 
&address->peer)))
     {
       /* No alternative address found, disconnect peer */
@@ -1422,6 +1422,7 @@
     }
     else
     {
+      /* We found an alternative, notify about it */
       s->bw_changed (s->bw_changed_cls, (struct ATS_Address *) new_address);
     }
   }




reply via email to

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