summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-06-09 14:08:03 +0000
committerJean-François Micouleau <jfm@samba.org>2000-06-09 14:08:03 +0000
commit0288a641e752eaf80c154e2d4f4fab023c73b486 (patch)
tree97f66ab415d5989142c8421ee2c8d781b7e7ec2d
parent15cf0e847009faf7fb90bd7e9e27db6999c88eef (diff)
downloadsamba-0288a641e752eaf80c154e2d4f4fab023c73b486.tar.gz
samba-0288a641e752eaf80c154e2d4f4fab023c73b486.tar.bz2
samba-0288a641e752eaf80c154e2d4f4fab023c73b486.zip
untiltime should be 0 by default to cover the whole 24 hours.
J.F. (This used to be commit 53aff484a6a37c83fd2e21d48fd1a5fcbad2f511)
-rw-r--r--source3/printing/nt_printing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 0a6d37a7f0..9ccd7ff740 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -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;