summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_rpc_printer.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-17 00:29:13 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 12:14:47 +0100
commit12c6ac6a434325d7e9837bbea6d35482767251ba (patch)
tree11a0ec9806bf5bf4cdf28334a28a6f02eaaf40e3 /source3/utils/net_rpc_printer.c
parent56691dfe4bb6b4efe14271361247f030f7a34e18 (diff)
downloadsamba-12c6ac6a434325d7e9837bbea6d35482767251ba.tar.gz
samba-12c6ac6a434325d7e9837bbea6d35482767251ba.tar.xz
samba-12c6ac6a434325d7e9837bbea6d35482767251ba.zip
s3-net: fix net_spoolss_setprinterdataex.
Guenther
Diffstat (limited to 'source3/utils/net_rpc_printer.c')
-rw-r--r--source3/utils/net_rpc_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index a30b3a1d0e0..43ef412d907 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -885,7 +885,7 @@ static bool net_spoolss_enumprinterdataex(struct rpc_pipe_client *pipe_hnd,
static bool net_spoolss_setprinterdataex(struct rpc_pipe_client *pipe_hnd,
TALLOC_CTX *mem_ctx,
POLICY_HND *hnd,
- char *keyname,
+ const char *keyname,
REGISTRY_VALUE *value)
{
WERROR result;