mirror of
https://github.com/systemd/systemd.git
synced 2025-02-14 05:57:40 +03: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…
x
Reference in New Issue
Block a user