]> git.sur5r.net Git - openldap/commitdiff
silence warning
authorPierangelo Masarati <ando@openldap.org>
Tue, 11 Mar 2003 12:25:39 +0000 (12:25 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 11 Mar 2003 12:25:39 +0000 (12:25 +0000)
servers/slapd/daemon.c

index 38f804466b502bc0621d29a7300463aa69fa9719..e61feceb12ae2c7505a29cc5d29c38ffeb6cb7bf 100644 (file)
@@ -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;