git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ae5a6
)
Fixed typo where docname was being checked for datatype - was causing
author
Jeremy Allison
<jra@samba.org>
Fri, 8 Sep 2000 02:20:48 +0000
(
02:20
+0000)
committer
Jeremy Allison
<jra@samba.org>
Fri, 8 Sep 2000 02:20:48 +0000
(
02:20
+0000)
STARTDOCPRINTER call to fail. I *love* Gerald's test code :-).
Jeremy.
(This used to be commit
43192370f31c7cc71d1f72449a067573adad3ebc
)
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 71df03cd087b119cd3b488910e111a8340d8d6e9..52a677fbe0fa69106b22eca6feb3cdcba88f3389 100644
(file)
--- a/
source3/rpc_server/srv_spoolss_nt.c
+++ b/
source3/rpc_server/srv_spoolss_nt.c
@@
-2919,7
+2919,7
@@
uint32 _spoolss_startdocprinter(POLICY_HND *handle, uint32 level,
*/
if (info_1->p_datatype != 0) {
- unistr2_to_ascii(datatype, &info_1->d
ocnam
e, sizeof(datatype));
+ unistr2_to_ascii(datatype, &info_1->d
atatyp
e, sizeof(datatype));
if (strcmp(datatype, "RAW") != 0) {
(*jobid)=0;
return ERROR_INVALID_DATATYPE;