mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
oops, gai_strerror must return default value when error code
isn't found in ai_errlist.
This commit is contained in:
parent
b29ec00b70
commit
3b1a779723
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121348
@ -330,6 +330,7 @@ gai_strerror(ecode)
|
||||
if (p->code == ecode)
|
||||
return (char *)p->str;
|
||||
}
|
||||
return "Unknown error";
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user