-correctly document cache only flag
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 4 Jul 2012 17:44:14 +0000 (17:44 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 4 Jul 2012 17:44:14 +0000 (17:44 +0000)
src/gns/gns_api.c
src/gns/gnunet-gns.c
src/include/gnunet_gns_service.h

index ac7f872416f19b0762ee359f8214cf9905c120db..ee2c598432fbf13b4cae4d8d501194ceac56a83e 100644 (file)
@@ -641,7 +641,7 @@ get_request_id (struct GNUNET_GNS_Handle *h)
  * @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 @@ GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle,
  * @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
index 7d2f8a8b61cc6de76a8028fada57531e846c663c..6643317daf985972013a5839758918e615d09ebf 100644 (file)
@@ -269,7 +269,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     GNUNET_GNS_lookup_zone (gns, lookup_name,
                             zone,
                             rtype,
-                            GNUNET_YES, //Use DHT
+                            GNUNET_NO, //Use DHT
                             shorten_key,
                             &process_lookup_result, lookup_name);
   }
index 029ef9f5161f0d8ad8d79e296a6bbae8df75e948..ffd0224c8262278b3fa73696fe6d0ef40427cd85 100644 (file)
@@ -178,7 +178,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
  * @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