From: Max Bachmann Date: Tue, 18 Mar 2025 13:31:13 +0000 (+0100) Subject: gh-114917: Fix typo in getaddrinfo emulation (#131413) X-Git-Tag: v3.14.0a7~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49234c065cf2b1ea32c5a3976d834b1d07b9b831;p=thirdparty%2FPython%2Fcpython.git gh-114917: Fix typo in getaddrinfo emulation (#131413) --- diff --git a/Modules/getaddrinfo.c b/Modules/getaddrinfo.c index 5219330d0f61..de6f0bf57b5c 100644 --- a/Modules/getaddrinfo.c +++ b/Modules/getaddrinfo.c @@ -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); }