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
1 changed files with 2 additions and 4 deletions

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()) {