mirror of
https://github.com/samba-team/samba.git
synced 2025-02-11 17:58:16 +03:00
untiltime should be 0 by default to cover the whole 24 hours.
J.F.
This commit is contained in:
parent
70dcc791b4
commit
53aff484a6
@ -1026,11 +1026,11 @@ static uint32 get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstrin
|
||||
fstrcpy(info.datatype, "RAW");
|
||||
|
||||
info.attributes = PRINTER_ATTRIBUTE_SHARED \
|
||||
| PRINTER_ATTRIBUTE_LOCAL \
|
||||
| PRINTER_ATTRIBUTE_RAW_ONLY ; /* attributes */
|
||||
| PRINTER_ATTRIBUTE_LOCAL \
|
||||
| PRINTER_ATTRIBUTE_RAW_ONLY ; /* attributes */
|
||||
|
||||
info.starttime = 0; /* Minutes since 12:00am GMT */
|
||||
info.untiltime = 1440; /* Minutes since 12:00am GMT */
|
||||
info.untiltime = 0; /* Minutes since 12:00am GMT */
|
||||
|
||||
if ((info.devmode = construct_nt_devicemode()) == NULL)
|
||||
goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user