mirror of
https://github.com/python/cpython.git
synced 2025-07-07 11:25:30 +00:00
gh-114917: Fix typo in getaddrinfo emulation (#131413)
This commit is contained in:
parent
8cb57dc367
commit
49234c065c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue