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-10 21:57:44 +02:00
parent c7c468c92a
commit a62fc245d0

View file

@ -502,10 +502,8 @@ enum nss_status _nss_resolve_gethostbyaddr2_r(
} }
if (len != FAMILY_ADDRESS_SIZE(af)) { if (len != FAMILY_ADDRESS_SIZE(af)) {
UNPROTECT_ERRNO; r = -EINVAL;
*errnop = EINVAL; goto fail;
*h_errnop = NO_RECOVERY;
return NSS_STATUS_UNAVAIL;
} }
if (avoid_deadlock()) { if (avoid_deadlock()) {