mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s4:libcli/ldap: use const char * const *attributes as in all other places
metze
This commit is contained in:
parent
66b2604ef1
commit
3c9ad421fb
@ -106,7 +106,7 @@ struct ldap_SearchRequest {
|
||||
bool attributesonly;
|
||||
struct ldb_parse_tree *tree;
|
||||
int num_attributes;
|
||||
const char **attributes;
|
||||
const char * const *attributes;
|
||||
};
|
||||
|
||||
struct ldap_SearchResEntry {
|
||||
|
@ -69,7 +69,7 @@ _PUBLIC_ NTSTATUS ildap_search_bytree(struct ldap_connection *conn, const char *
|
||||
msg->r.SearchRequest.attributesonly = attributesonly;
|
||||
msg->r.SearchRequest.tree = tree;
|
||||
msg->r.SearchRequest.num_attributes = n;
|
||||
msg->r.SearchRequest.attributes = discard_const(attrs);
|
||||
msg->r.SearchRequest.attributes = attrs;
|
||||
msg->controls = control_req;
|
||||
|
||||
req = ldap_request_send(conn, msg);
|
||||
|
Loading…
Reference in New Issue
Block a user