fix wrong return value
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Sun, 10 May 2020 14:49:05 +0000 (16:49 +0200)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Sun, 10 May 2020 14:49:05 +0000 (16:49 +0200)
src/gns/gnunet-service-gns_resolver.c

index 751cc226ebdbc05f64107c77b90f77e27e982a63..7d398c168ae98b57871942fe47cb757c9c30597a 100644 (file)
@@ -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,