From 2d44ba6d72d145ec78853ad57d9b0552dd42f79b Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 4 Jul 2012 17:44:14 +0000 Subject: [PATCH] -correctly document cache only flag --- src/gns/gns_api.c | 4 ++-- src/gns/gnunet-gns.c | 2 +- src/include/gnunet_gns_service.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index ac7f87241..ee2c59843 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c @@ -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 diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 7d2f8a8b6..6643317da 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c @@ -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); } diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 029ef9f51..ffd0224c8 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h @@ -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 -- 2.25.1