diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index a35bd58d11..5154a83fec 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -1135,7 +1135,7 @@ int get_remote_hostname(const struct tsocket_address *remote_address, char tmp_name[MAX_DNS_NAME_LENGTH]; struct name_addr_pair nc; struct sockaddr_storage ss; - socklen_t len; + ssize_t len; int rc; if (!lp_hostname_lookups()) { |