https://github.com/python/cpython/commit/49234c065cf2b1ea32c5a3976d834b1d07b9b831 commit: 49234c065cf2b1ea32c5a3976d834b1d07b9b831 branch: main author: Max Bachmann <kont...@maxbachmann.de> committer: vstinner <vstin...@python.org> date: 2025-03-18T14:31:13+01:00 summary:
gh-114917: Fix typo in getaddrinfo emulation (#131413) files: M Modules/getaddrinfo.c diff --git a/Modules/getaddrinfo.c b/Modules/getaddrinfo.c index 5219330d0f61e8..de6f0bf57b5c31 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); } _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com