fix #99 / Connect error descriptions are invalid

This commit is contained in:
Benjamin Sergeant 2019-08-13 10:49:11 -07:00
parent 0403dd354b
commit 8b8b352e61

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
}