mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 20:06:06 -05:00
Remove lint
This commit is contained in:
parent
627d354b98
commit
dffb050d81
1 changed files with 2 additions and 2 deletions
|
|
@ -265,8 +265,8 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s,
|
|||
if ( FD_ISSET(s, &efds) ) {
|
||||
int so_errno;
|
||||
int dummy = sizeof(so_errno);
|
||||
if ( getsockopt( s, SOL_SOCKET, SO_ERROR, &so_errno, &dummy )
|
||||
== AC_SOCKET_ERROR || !so_errno )
|
||||
if ( getsockopt( s, SOL_SOCKET, SO_ERROR,
|
||||
(char *) &so_errno, &dummy ) == AC_SOCKET_ERROR || !so_errno )
|
||||
{
|
||||
/* impossible */
|
||||
so_errno = WSAGetLastError();
|
||||
|
|
|
|||
Loading…
Reference in a new issue