/*
* If the resolver failed, see if the failure is
- * temporary. If so, return success.
+ * temporary. If so, return success.
*/
if (error != 0) {
switch (error)
}
#endif /* SYS_WINNT */
-#ifdef F_DUPFD
+#if !defined(SYS_WINNT) && defined(F_DUPFD)
/*
* Fixup the file descriptor for some systems
+ * See bug #530 for details of the issue.
*/
fd = dup_fd(fd);
#endif
-
- /* set SO_REUSEADDR since we will be binding the same port
- number on each interface */
+ /*
+ * set SO_REUSEADDR since we will be binding the same port
+ * number on each interface
+ */
if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR,
(char *)&on, sizeof(on)))
{