Remove lint

This commit is contained in:
Kurt Zeilenga 2002-01-10 05:30:23 +00:00
parent 627d354b98
commit dffb050d81

View File

@ -265,8 +265,8 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s,
if ( FD_ISSET(s, &efds) ) { if ( FD_ISSET(s, &efds) ) {
int so_errno; int so_errno;
int dummy = sizeof(so_errno); int dummy = sizeof(so_errno);
if ( getsockopt( s, SOL_SOCKET, SO_ERROR, &so_errno, &dummy ) if ( getsockopt( s, SOL_SOCKET, SO_ERROR,
== AC_SOCKET_ERROR || !so_errno ) (char *) &so_errno, &dummy ) == AC_SOCKET_ERROR || !so_errno )
{ {
/* impossible */ /* impossible */
so_errno = WSAGetLastError(); so_errno = WSAGetLastError();