From: Pierangelo Masarati Date: Tue, 11 Mar 2003 12:25:39 +0000 (+0000) Subject: silence warning X-Git-Tag: NO_SLAP_OP_BLOCKS~147 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6a47ac9ea8949a66f0ddb48223fda4e52c1b13b;p=openldap silence warning --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 38f804466b..e61feceb12 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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;