1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00

const religion

This commit is contained in:
Andrew Tridgell
-
parent 514bc61daa
commit 359ca8f246
2 changed files with 3 additions and 3 deletions

View File

@@ -1052,7 +1052,7 @@ makes a structure.
********************************************************************/
void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
POLICY_HND *hnd, int num_names, char **names)
POLICY_HND *hnd, int num_names, const char **names)
{
int i;
@@ -1078,7 +1078,7 @@ void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
}
for (i = 0; i < num_names; i++) {
char* name = names[i];
const char *name = names[i];
int len = strlen(name);
init_uni_hdr(&q_l->hdr_name[i], len);