summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-10 16:49:05 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-10 16:49:05 +0200
commitf3a3e4ebe452ed741c7d01384c64cbf224d45c95 (patch)
tree905432ea1f8d9b247ee3e380a13674979b4adf64
parent3c85aa97f867917c212a3f9452aa3bf5de2b4f74 (diff)
fix wrong return value
-rw-r--r--src/gns/gnunet-service-gns_resolver.c3
1 files changed, 1 insertions, 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,