mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
silence warning
This commit is contained in:
parent
3415b384e2
commit
f6a47ac9ea
1 changed files with 1 additions and 1 deletions
|
|
@ -1613,7 +1613,7 @@ slapd_daemon_task(
|
|||
#ifdef SLAPD_RLOOKUPS
|
||||
if ( use_reverse_lookup ) {
|
||||
char *herr;
|
||||
if (ldap_pvt_get_hname( &from, len, hbuf,
|
||||
if (ldap_pvt_get_hname( (const struct sockaddr *)&from, len, hbuf,
|
||||
sizeof(hbuf), &herr ) == 0) {
|
||||
ldap_pvt_str2lower( hbuf );
|
||||
dnsname = hbuf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue