1
0
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:
Stefan Metzmacher 2009-02-13 11:37:15 +01:00
parent 66b2604ef1
commit 3c9ad421fb
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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);