summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-03 08:16:51 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-03 08:16:51 +0000
commitb6b84cf7099c3b2cee777cf9514b3e6665a4025f (patch)
treef80207cf87fce0704e90dcd152808ea67b2beea2 /source3
parent4405a1cc4f1d4e965e1459477dca9f058e89479e (diff)
downloadsamba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.tar.gz
samba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.tar.bz2
samba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.zip
const religion
(This used to be commit 359ca8f246c46b1700418fe0226458023f808d67)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cli_lsarpc.c2
-rw-r--r--source3/rpc_parse/parse_lsa.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/cli_lsarpc.c b/source3/libsmb/cli_lsarpc.c
index ffe86eccd5..9526da94a8 100644
--- a/source3/libsmb/cli_lsarpc.c
+++ b/source3/libsmb/cli_lsarpc.c
@@ -329,7 +329,7 @@ NTSTATUS cli_lsa_lookup_sids(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/** Lookup a list of names */
NTSTATUS cli_lsa_lookup_names(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, int num_names, char **names,
+ POLICY_HND *pol, int num_names, const char **names,
DOM_SID **sids, uint32 **types, int *num_sids)
{
prs_struct qbuf, rbuf;
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 90fa8d8fff..6aa696369a 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -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);