mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
nss-resolve: resue a jump target
We can reuse "fail" here, since it does the same thing.
This commit is contained in:
parent
c7c468c92a
commit
a62fc245d0
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue