git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e710c07
)
Sync up startpageprinter with appliance.
author
Tim Potter
<tpot@samba.org>
Wed, 23 Jan 2002 11:47:19 +0000
(11:47 +0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 23 Jan 2002 11:47:19 +0000
(11:47 +0000)
(This used to be commit
6025ab201aa34bbf4a7e897149ef6ba370a89703
)
source3/rpc_server/srv_spoolss_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_spoolss_nt.c
b/source3/rpc_server/srv_spoolss_nt.c
index cffd88c3aa100d089e6edc52f3b2e2d75d53b3e2..57521dc1446c620624428f7edda938cecb96d592 100644
(file)
--- a/
source3/rpc_server/srv_spoolss_nt.c
+++ b/
source3/rpc_server/srv_spoolss_nt.c
@@
-4011,13
+4011,13
@@
WERROR _spoolss_startpageprinter(pipes_struct *p, SPOOL_Q_STARTPAGEPRINTER *q_u,
Printer_entry *Printer = find_printer_index_by_hnd(p, handle);
- if (Printer) {
-
Printer->page_started=True
;
- return WERR_
OK
;
+ if (
!
Printer) {
+
DEBUG(3,("Error in startpageprinter printer handle\n"))
;
+ return WERR_
BADFID
;
}
-
DEBUG(3,("Error in startpageprinter printer handle\n"))
;
- return WERR_
BADFID
;
+
Printer->page_started=True
;
+ return WERR_
OK
;
}
/****************************************************************************