Skip to content
Snippets Groups Projects
Commit 6b7f169b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

only do the verifyconnect() clear magic on mpeix

parent 01e3bb98
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment