nss-resolve: resue a jump target

We can reuse "fail" here, since it does the same thing.
This commit is contained in:
Lennart Poettering
2019-04-11 11:13:10 +02:00
parent c7c468c92a
commit a62fc245d0
+2 -4
View File
@@ -502,10 +502,8 @@ enum nss_status _nss_resolve_gethostbyaddr2_r(
}
if (len != FAMILY_ADDRESS_SIZE(af)) {
UNPROTECT_ERRNO;
*errnop = EINVAL;
*h_errnop = NO_RECOVERY;
return NSS_STATUS_UNAVAIL;
r = -EINVAL;
goto fail;
}
if (avoid_deadlock()) {