oops, gai_strerror must return default value when error code

isn't found in ai_errlist.
This commit is contained in:
ume 2003-10-22 16:53:21 +00:00
parent 241d46a988
commit 78f757ea79

View File

@ -330,6 +330,7 @@ gai_strerror(ecode)
if (p->code == ecode)
return (char *)p->str;
}
return "Unknown error";
}
void