mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 11:57:39 -05:00
int -> ber_socklen_t for getsockname()
This commit is contained in:
parent
5d083f3859
commit
25a7729a12
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ int lutil_pair( ber_socket_t sds[2] )
|
|||
return pipe( sds );
|
||||
#else
|
||||
struct sockaddr_in si;
|
||||
int rc, len = sizeof(si);
|
||||
int rc;
|
||||
ber_socklen_t len = sizeof(si);
|
||||
ber_socket_t sd;
|
||||
|
||||
sd = socket( AF_INET, SOCK_DGRAM, 0 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue