From f6a47ac9ea8949a66f0ddb48223fda4e52c1b13b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 11 Mar 2003 12:25:39 +0000 Subject: [PATCH] silence warning --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5