mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
merge from 2.2
(This used to be commit 8ed7c1ffad2df03c66151c1dfe7477301bd3ebad)
This commit is contained in:
parent
1182b7cd8c
commit
e710c07411
@ -2444,12 +2444,12 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstrin
|
||||
*/
|
||||
|
||||
if (lp_default_devmode(snum)) {
|
||||
info.devmode = NULL;
|
||||
}
|
||||
else {
|
||||
if ((info.devmode = construct_nt_devicemode(info.printername)) == NULL)
|
||||
goto fail;
|
||||
}
|
||||
else {
|
||||
info.devmode = NULL;
|
||||
}
|
||||
|
||||
/* This will get the current RPC talloc context, but we should be
|
||||
passing this as a parameter... fixme... JRA ! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user