summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_srvsvc.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-25 23:34:57 +0000
committerTim Potter <tpot@samba.org>2003-02-25 23:34:57 +0000
commit991f6cc3c13cdeb8d7cf0dea25af29bbc7987c64 (patch)
tree7850ebfa4f31a0c63daa725b04cb109c261f3a40 /source3/rpc_client/cli_srvsvc.c
parent7d581bebd437cd66000a1cac4b74b1ec4408f672 (diff)
downloadsamba-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_srvsvc.c')
-rw-r--r--source3/rpc_client/cli_srvsvc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_srvsvc.c b/source3/rpc_client/cli_srvsvc.c
index b6c6b377ff..6cd18f2e43 100644
--- a/source3/rpc_client/cli_srvsvc.c
+++ b/source3/rpc_client/cli_srvsvc.c
@@ -230,9 +230,10 @@ WERROR cli_srvsvc_net_share_del(struct cli_state *cli, TALLOC_CTX *mem_ctx,
}
WERROR cli_srvsvc_net_share_add(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- char *netname, uint32 type, char *remark,
- uint32 perms, uint32 max_uses, uint32 num_uses,
- char *path, char *passwd)
+ const char *netname, uint32 type,
+ const char *remark, uint32 perms,
+ uint32 max_uses, uint32 num_uses,
+ const char *path, const char *passwd)
{
prs_struct qbuf, rbuf;
SRV_Q_NET_SHARE_ADD q;