summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-06 06:51:55 +0000
committerTim Potter <tpot@samba.org>2000-07-06 06:51:55 +0000
commitd4081ac703aa3fe0246e2435d9c344f95186b4dc (patch)
tree8490af51125598f0164820282a25b2408c84276b
parent084af3c5be2d7cd6ab68431f4f2b12113e246528 (diff)
downloadsamba-d4081ac703aa3fe0246e2435d9c344f95186b4dc.tar.gz
samba-d4081ac703aa3fe0246e2435d9c344f95186b4dc.tar.bz2
samba-d4081ac703aa3fe0246e2435d9c344f95186b4dc.zip
Pass pipes_struct rather than vuid down to startdocprinter, setprinter and
setjob spoolss server commands. (This used to be commit f35745137451f769a0723cb0665ba0b9d4801ad8)
-rwxr-xr-xsource3/rpc_server/srv_spoolss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss.c b/source3/rpc_server/srv_spoolss.c
index a7a63fed89..3f72305465 100755
--- a/source3/rpc_server/srv_spoolss.c
+++ b/source3/rpc_server/srv_spoolss.c
@@ -436,7 +436,7 @@ static BOOL api_spoolss_startdocprinter(pipes_struct *p)
}
r_u.status = _spoolss_startdocprinter(&q_u.handle,
- q_u.doc_info_container.level, p->vuid,
+ q_u.doc_info_container.level, p,
&q_u.doc_info_container.docinfo,
&r_u.jobid);
@@ -529,7 +529,7 @@ static BOOL api_spoolss_setprinter(pipes_struct *p)
r_u.status = _spoolss_setprinter(&q_u.handle, q_u.level, &q_u.info,
q_u.devmode_ctr, q_u.secdesc_ctr,
- q_u.command, p->vuid);
+ q_u.command, p);
if(!spoolss_io_r_setprinter("",&r_u,rdata,0)) {
DEBUG(0,("spoolss_io_r_setprinter: unable to marshall SPOOL_R_SETPRINTER.\n"));
@@ -692,7 +692,7 @@ static BOOL api_spoolss_setjob(pipes_struct *p)
}
r_u.status = _spoolss_setjob(&q_u.handle, q_u.jobid,
- q_u.level, p->vuid, &q_u.ctr, q_u.command);
+ q_u.level, p, &q_u.ctr, q_u.command);
if(!spoolss_io_r_setjob("",&r_u,rdata,0)) {
DEBUG(0,("spoolss_io_r_setjob: unable to marshall SPOOL_R_SETJOB.\n"));