From 6b7f169b101654a7abe8cda6da75a88dccdd8e6d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Jan 2004 07:51:51 +0000 Subject: only do the verifyconnect() clear magic on mpeix --- lib/connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3