Skip to content
Snippets Groups Projects
Commit 5d083f38 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

int -> ber_socklen_t for getsockopt()

parent 4586ede1
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ ldap_int_poll(
/* This means the connection failed */
if ( FD_ISSET(s, &efds) ) {
int so_errno;
int dummy = sizeof(so_errno);
ber_socklen_t dummy = sizeof(so_errno);
if ( getsockopt( s, SOL_SOCKET, SO_ERROR,
(char *) &so_errno, &dummy ) == AC_SOCKET_ERROR || !so_errno )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment