summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-18 01:48:45 +0000
committerJeremy Allison <jra@samba.org>2002-04-18 01:48:45 +0000
commite9be6c4db4ad5a5caefed5a97df13880ca3262f4 (patch)
tree74beede0a4d4698e3ac52cd57450f5420998a4ff /source3
parent4e5e5481707537c93f8ab7b9eae00498131ed5d9 (diff)
downloadsamba-e9be6c4db4ad5a5caefed5a97df13880ca3262f4.tar.gz
samba-e9be6c4db4ad5a5caefed5a97df13880ca3262f4.tar.bz2
samba-e9be6c4db4ad5a5caefed5a97df13880ca3262f4.zip
Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptr
in the SetPrinter() call - they send it in the devmode_ctr instead. Jeremy. (This used to be commit f988a1af034b4cea2412171a257a752192afaece)
Diffstat (limited to 'source3')
-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 a8552cd14d..5fa45b0b44 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5084,7 +5084,7 @@ static WERROR update_printer(pipes_struct *p, POLICY_HND *handle, uint32 level,
goto done;
}
- if (info->info_2->devmode_ptr != 0) {
+ if (devmode) {
/* we have a valid devmode
convert it and link it*/