only do the verifyconnect() clear magic on mpeix

This commit is contained in:
Daniel Stenberg 2004-01-30 07:51:51 +00:00
parent 01e3bb98b5
commit 6b7f169b10

View File

@ -176,11 +176,12 @@ int waitconnect(int sockfd, /* socket */
fd_set errfd;
struct timeval interval;
int rc;
#ifdef mpeix
/* Call this function once now, and ignore the results. We do this to
"clear" the error state on the socket so that we can later read it
reliably. This is reported necessary on the MPE/iX operating system. */
verifyconnect(sockfd);
#endif
/* now select() until we get connect or timeout */
FD_ZERO(&fd);