mirror of
https://github.com/samba-team/samba.git
synced 2025-01-04 05:18:06 +03:00
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 f988a1af03
)
This commit is contained in:
parent
4e5e548170
commit
e9be6c4db4
@ -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*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user