diff options
author | Tim Potter <tpot@samba.org> | 2003-02-25 23:34:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-25 23:34:57 +0000 |
commit | 991f6cc3c13cdeb8d7cf0dea25af29bbc7987c64 (patch) | |
tree | 7850ebfa4f31a0c63daa725b04cb109c261f3a40 /source3/rpc_client/cli_lsarpc.c | |
parent | 7d581bebd437cd66000a1cac4b74b1ec4408f672 (diff) | |
download | samba-991f6cc3c13cdeb8d7cf0dea25af29bbc7987c64.tar.gz samba-991f6cc3c13cdeb8d7cf0dea25af29bbc7987c64.tar.bz2 samba-991f6cc3c13cdeb8d7cf0dea25af29bbc7987c64.zip |
More const fixes and flow on fixes from yesterday's const-fest.
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r-- | source3/rpc_client/cli_lsarpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c index e878d02211..9002ad3d1b 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -805,7 +805,8 @@ NTSTATUS cli_lsa_enum_privilege(struct cli_state *cli, TALLOC_CTX *mem_ctx, /** Get privilege name */ NTSTATUS cli_lsa_get_dispname(struct cli_state *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *pol, char *name, uint16 lang_id, uint16 lang_id_sys, + POLICY_HND *pol, const char *name, + uint16 lang_id, uint16 lang_id_sys, fstring description, uint16 *lang_id_desc) { prs_struct qbuf, rbuf; @@ -1050,7 +1051,7 @@ NTSTATUS cli_lsa_enum_privsaccount(struct cli_state *cli, TALLOC_CTX *mem_ctx, /** Get a privilege value given its name */ NTSTATUS cli_lsa_lookupprivvalue(struct cli_state *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *pol, char *name, LUID *luid) + POLICY_HND *pol, const char *name, LUID *luid) { prs_struct qbuf, rbuf; LSA_Q_LOOKUPPRIVVALUE q; |