]> granicus.if.org Git - curl/commitdiff
only do the verifyconnect() clear magic on mpeix
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jan 2004 07:51:51 +0000 (07:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jan 2004 07:51:51 +0000 (07:51 +0000)
lib/connect.c

index 97fb15ccd80076e5d5ad0c3472eb94e3affeea4d..97e7bd38ece2b9c6d2a0ba31ca71a948aa15a943 100644 (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);