mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r9953: get rid of compiler warning.
Guenther
(This used to be commit d4698acd50
)
This commit is contained in:
parent
e722cb25d8
commit
f28bdc61f4
@ -1367,7 +1367,7 @@ static BOOL smbldap_check_root_dse(struct smbldap_state *ldap_state, const char
|
||||
}
|
||||
|
||||
rc = ldap_search_s(ldap_state->ldap_struct, "", LDAP_SCOPE_BASE,
|
||||
"(objectclass=*)", attrs, 0 , &msg);
|
||||
"(objectclass=*)", CONST_DISCARD(char **, attrs), 0 , &msg);
|
||||
|
||||
if (rc != LDAP_SUCCESS) {
|
||||
DEBUG(3,("smbldap_check_root_dse: Could not search rootDSE\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user