X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fnetwork%2Fgethostbyname2_r.c;h=0dc6dc00d62ccb7e7174d4ab9cf869818a797eb8;hb=c713d8797804903b54203a645e023e2077c7556d;hp=49e4e53197d195d83a91ee4605c0cea7e5c8e9fa;hpb=70b584bc9467ce939c73898212c17be1ab7e39af;p=musl diff --git a/src/network/gethostbyname2_r.c b/src/network/gethostbyname2_r.c index 49e4e531..0dc6dc00 100644 --- a/src/network/gethostbyname2_r.c +++ b/src/network/gethostbyname2_r.c @@ -30,7 +30,6 @@ int gethostbyname2_r(const char *name, int af, buflen -= sizeof(char *)-i; } - getaddrinfo(name, 0, &hint, &ai); switch (getaddrinfo(name, 0, &hint, &ai)) { case EAI_NONAME: *err = HOST_NOT_FOUND;