aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connect.c')
-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);