gh-114917: Fix typo in getaddrinfo emulation (#131413)

This commit is contained in:
Max Bachmann 2025-03-18 14:31:13 +01:00 committed by GitHub
parent 8cb57dc367
commit 49234c065c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -351,7 +351,7 @@ getaddrinfo(const char*hostname, const char*servname,
struct servent *sp;
const char *proto;
if (ai->ai_flags & AI_NUMERICSERV) {
if (pai->ai_flags & AI_NUMERICSERV) {
ERR(EAI_NONAME);
}