const religion
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 Dec 2001 08:16:51 +0000 (08:16 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 3 Dec 2001 08:16:51 +0000 (08:16 +0000)
(This used to be commit 359ca8f246c46b1700418fe0226458023f808d67)

source3/libsmb/cli_lsarpc.c
source3/rpc_parse/parse_lsa.c

index ffe86eccd5a28f9bd0a7a568191a41d4b6d7a047..9526da94a869999c4502cbff7736d1276362b177 100644 (file)
@@ -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;
index 90fa8d8fffd215ee157498a7a0e1d122adb25609..6aa696369ac9950bbc1b385ed9c5b549304ba7e7 100644 (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);