oops, gai_strerror must return default value when error code
isn't found in ai_errlist.
This commit is contained in:
parent
241d46a988
commit
78f757ea79
@ -330,6 +330,7 @@ gai_strerror(ecode)
|
||||
if (p->code == ecode)
|
||||
return (char *)p->str;
|
||||
}
|
||||
return "Unknown error";
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user