From f3a3e4ebe452ed741c7d01384c64cbf224d45c95 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Sun, 10 May 2020 16:49:05 +0200 Subject: [PATCH] fix wrong return value --- src/gns/gnunet-service-gns_resolver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 751cc226e..7d398c168 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -1763,8 +1763,7 @@ recursive_gns2dns_resolution (struct GNS_ResolverHandle *rh, /** * Records other than GNS2DNS not allowed */ - fail_resolution (rh); - return; + return GNUNET_SYSERR; } off = 0; n = GNUNET_DNSPARSER_parse_name (rd[i].data, -- 2.25.1