diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-02-25 23:21:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-02-25 23:21:34 +0100 |
commit | 56a9d4001b0844287ecc55b103549370676646a8 (patch) | |
tree | 15c386888d44654aee00e2bc14b8e6fda63407c6 /src/gns/gnunet-service-gns_resolver.c | |
parent | ab31df30ad892ea81bf8ccea19f97bf2cbed5899 (diff) | |
download | gnunet-56a9d4001b0844287ecc55b103549370676646a8.tar.gz gnunet-56a9d4001b0844287ecc55b103549370676646a8.zip |
first preparations for GNS mapping arbitrary TLDs
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 5bf443267..533c0cada 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -2252,7 +2252,7 @@ recursive_resolution (void *cls) | |||
2252 | * Begin the resolution process from 'name', starting with | 2252 | * Begin the resolution process from 'name', starting with |
2253 | * the identification of the zone specified by 'name'. | 2253 | * the identification of the zone specified by 'name'. |
2254 | * | 2254 | * |
2255 | * @param cls the `struct GNS_ResolverHandle` | 2255 | * @param cls the `struct GNS_ResolverHandle` |
2256 | */ | 2256 | */ |
2257 | static void | 2257 | static void |
2258 | start_resolver_lookup (void *cls) | 2258 | start_resolver_lookup (void *cls) |
@@ -2595,10 +2595,11 @@ GNS_resolver_done () | |||
2595 | * | 2595 | * |
2596 | * @param name the name to check | 2596 | * @param name the name to check |
2597 | * @param tld the TLD to check for | 2597 | * @param tld the TLD to check for |
2598 | * @return GNUNET_YES or GNUNET_NO | 2598 | * @return #GNUNET_YES or #GNUNET_NO |
2599 | */ | 2599 | */ |
2600 | int | 2600 | int |
2601 | is_tld (const char* name, const char* tld) | 2601 | is_tld (const char* name, |
2602 | const char* tld) | ||
2602 | { | 2603 | { |
2603 | size_t offset = 0; | 2604 | size_t offset = 0; |
2604 | 2605 | ||