gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r22483 - in gnunet/src: gns include


From: gnunet
Subject: [GNUnet-SVN] r22483 - in gnunet/src: gns include
Date: Wed, 4 Jul 2012 19:44:14 +0200

Author: schanzen
Date: 2012-07-04 19:44:14 +0200 (Wed, 04 Jul 2012)
New Revision: 22483

Modified:
   gnunet/src/gns/gns_api.c
   gnunet/src/gns/gnunet-gns.c
   gnunet/src/include/gnunet_gns_service.h
Log:
-correctly document cache only flag

Modified: gnunet/src/gns/gns_api.c
===================================================================
--- gnunet/src/gns/gns_api.c    2012-07-04 15:46:47 UTC (rev 22482)
+++ gnunet/src/gns/gns_api.c    2012-07-04 17:44:14 UTC (rev 22483)
@@ -641,7 +641,7 @@
  * @param name the name to look up
  * @param zone the zone to start the resolution in
  * @param type the record type to look up
- * @param only_cached GNUNET_NO to only check locally not DHT for performance
+ * @param only_cached GNUNET_YES to only check locally not DHT for performance
  * @param shorten_key the private key of the shorten zone (can be NULL)
  * @param proc processor to call on result
  * @param proc_cls closure for processor
@@ -739,7 +739,7 @@
  * @param handle handle to the GNS service
  * @param name the name to look up
  * @param type the record type to look up
- * @param only_cached GNUNET_NO to only check locally not DHT for performance
+ * @param only_cached GNUNET_YES to only check locally not DHT for performance
  * @param shorten_key the private key of the shorten zone (can be NULL)
  * @param proc processor to call on result
  * @param proc_cls closure for processor

Modified: gnunet/src/gns/gnunet-gns.c
===================================================================
--- gnunet/src/gns/gnunet-gns.c 2012-07-04 15:46:47 UTC (rev 22482)
+++ gnunet/src/gns/gnunet-gns.c 2012-07-04 17:44:14 UTC (rev 22483)
@@ -269,7 +269,7 @@
     GNUNET_GNS_lookup_zone (gns, lookup_name,
                             zone,
                             rtype,
-                            GNUNET_YES, //Use DHT
+                            GNUNET_NO, //Use DHT
                             shorten_key,
                             &process_lookup_result, lookup_name);
   }

Modified: gnunet/src/include/gnunet_gns_service.h
===================================================================
--- gnunet/src/include/gnunet_gns_service.h     2012-07-04 15:46:47 UTC (rev 
22482)
+++ gnunet/src/include/gnunet_gns_service.h     2012-07-04 17:44:14 UTC (rev 
22483)
@@ -178,7 +178,7 @@
  * @param name the name to look up
  * @param zone the zone to start the resolution in
  * @param type the GNUNET_GNS_RecordType to look for
- * @param only_cached GNUNET_NO to only check locally not DHT for performance
+ * @param only_cached GNUNET_YES to only check locally not DHT for performance
  * @param shorten_key the private key of the shorten zone (can be NULL)
  * @param proc function to call on result
  * @param proc_cls closure for processor




reply via email to

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