mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Remove lint
This commit is contained in:
parent
627d354b98
commit
dffb050d81
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user