gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19988 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r19988 - gnunet/src/gns
Date: Thu, 23 Feb 2012 18:48:04 +0100

Author: schanzen
Date: 2012-02-23 18:48:04 +0100 (Thu, 23 Feb 2012)
New Revision: 19988

Modified:
   gnunet/src/gns/gnunet-service-gns.c
Log:
-fix


Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2012-02-23 17:46:57 UTC (rev 19987)
+++ gnunet/src/gns/gnunet-service-gns.c 2012-02-23 17:48:04 UTC (rev 19988)
@@ -23,7 +23,6 @@
  * TODO:
  *    - Write xquery and block plugin
  *    - Think about mixed dns queries (.gnunet and .org)
- *    - (de-)serialisation of records/signature trees
  *    - The smaller FIXME issues all around
  *
  * @file gns/gnunet-service-gns.c
@@ -1014,6 +1013,8 @@
                   timeout,
                   NULL, //FIXME continuation needed? success check? yes ofc
                   NULL); //cls for cont
+  
+  num_public_records++;
 
   /**
    * Reschedule periodic put
@@ -1036,6 +1037,7 @@
   GNUNET_log(GNUNET_ERROR_TYPE_INFO, "Update zone!\n");
   dht_update_interval = GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS,
                                                      
(3600/num_public_records));
+  num_public_records = 0; //start counting again
   namestore_iter = GNUNET_NAMESTORE_zone_iteration_start (namestore_handle,
                                                           &zone_hash,
                                                           
GNUNET_NAMESTORE_RF_AUTHORITY,




reply via email to

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