fix #99 / Connect error descriptions are invalid

This commit is contained in:
Benjamin Sergeant 2019-08-13 10:49:11 -07:00
parent 5c13cbb08f
commit ffecef901a

View File

@ -128,6 +128,10 @@ namespace ix
optval != 0)
{
pollResult = PollResultType::Error;
// set errno to optval so that external callers can have an
// appropriate error description when calling strerror
errno = optval;
}
#endif
}