gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r25394 - gnunet/src/ats
Date: Tue, 11 Dec 2012 14:56:18 +0100

Author: wachs
Date: 2012-12-11 14:56:18 +0100 (Tue, 11 Dec 2012)
New Revision: 25394

Modified:
   gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c
Log:
changes


Modified: gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c    2012-12-11 
13:48:13 UTC (rev 25393)
+++ gnunet/src/ats/gnunet-service-ats_addresses_simplistic.c    2012-12-11 
13:56:18 UTC (rev 25394)
@@ -352,6 +352,13 @@
 
   GNUNET_break (0 < net->total_addresses);
   net->total_addresses --;
+  for (aw = net->head; NULL != aw; aw = aw->next)
+  {
+      if (aw->addr == address)
+        break;
+  }
+  GNUNET_CONTAINER_DLL_remove (net->head, net->tail, aw);
+  GNUNET_free (aw);
 
   if (GNUNET_YES == address->active)
   {
@@ -363,13 +370,6 @@
       update_quota_per_network (s, net, NULL);
   }
 
-  for (aw = net->head; NULL != aw; aw = aw->next)
-  {
-      if (aw->addr == address)
-        break;
-  }
-  GNUNET_CONTAINER_DLL_remove (net->head, net->tail, aw);
-  GNUNET_free (aw);
 
 }
 




reply via email to

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