gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37190 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r37190 - gnunet/src/rps
Date: Sun, 22 May 2016 09:12:48 +0200

Author: ch3
Date: 2016-05-22 09:12:48 +0200 (Sun, 22 May 2016)
New Revision: 37190

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-rps: removing unused counter

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2016-05-21 16:16:02 UTC (rev 37189)
+++ gnunet/src/rps/gnunet-service-rps.c 2016-05-22 07:12:48 UTC (rev 37190)
@@ -252,12 +252,7 @@
  */
 static struct GNUNET_TIME_Relative request_rate;
 
-/**
- * Number of history update tasks.
- */
-static uint32_t num_hist_update_tasks;
 
-
 #ifdef ENABLE_MALICIOUS
 /**
  * Type of malicious peer
@@ -458,8 +453,6 @@
              "+%s\t(hist)",
              GNUNET_i2s_full (ids));
   }
-  if (0 < num_hist_update_tasks)
-    num_hist_update_tasks--;
 }
 
 
@@ -1919,7 +1912,6 @@
                                   hist_update,
                                   NULL,
                                   final_size - second_border);
-    num_hist_update_tasks = final_size - second_border;
     // TODO change the peer_flags accordingly
 
     for (i = 0; i < View_size (); i++)
@@ -2333,9 +2325,6 @@
   pull_map = CustomPeerMap_create (4);
 
 
-  num_hist_update_tasks = 0;
-
-
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Requesting peers from CADET\n");
   GNUNET_CADET_get_peers (cadet_handle, &init_peer_cb, NULL);
   // TODO send push/pull to each of those peers?




reply via email to

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