summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-12 11:00:21 +0100
committerGünther Deschner <gd@samba.org>2009-03-12 14:47:31 +0100
commit4b57f6dd34d1ddbdc7b011de1ea7041ec8215dec (patch)
tree8ac71964b483e104ece3dc443f7c2d06d17f5767 /source3/rpc_server
parent2f579200fb439693540ada6e098959aa2d5f414e (diff)
downloadsamba-4b57f6dd34d1ddbdc7b011de1ea7041ec8215dec.tar.gz
samba-4b57f6dd34d1ddbdc7b011de1ea7041ec8215dec.tar.bz2
samba-4b57f6dd34d1ddbdc7b011de1ea7041ec8215dec.zip
s3-spoolss: make jobname a const char * in print_job_start().
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 0a4f5ae05c..727f3c9c7f 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5868,7 +5868,7 @@ WERROR _spoolss_StartDocPrinter(pipes_struct *p,
}
Printer->jobid = print_job_start(p->server_info, snum,
- CONST_DISCARD(char *,info_1->document_name),
+ info_1->document_name,
Printer->nt_devmode);
/* An error occured in print_job_start() so return an appropriate