aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-30 07:51:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-30 07:51:51 +0000
commit6b7f169b101654a7abe8cda6da75a88dccdd8e6d (patch)
treeb5b9480339f756a03652dfcdcc9d7932c0f98b9c
parent01e3bb98b5ccf682bb53029e155ac9fd446e2938 (diff)
only do the verifyconnect() clear magic on mpeix
-rw-r--r--lib/connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 97fb15ccd..97e7bd38e 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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);