dup() does not work on WinSock sockets.

This commit is contained in:
Mark Valence 2000-12-21 22:38:06 +00:00
parent c62f6d124c
commit a376cb1002

View File

@ -58,7 +58,11 @@ int lutil_pair( ber_socket_t sds[2] )
} }
sds[0] = sd; sds[0] = sd;
#if !HAVE_WINSOCK
sds[1] = dup( sds[0] ); sds[1] = dup( sds[0] );
#else
sds[1] = sds[0];
#endif
return 0; return 0;
#endif #endif
} }