diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-11-19 23:25:47 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-11-19 23:25:47 +0000 |
commit | 52f6f666c3ffd368f98d5be963e2e7a92f3dc82b (patch) | |
tree | 4a94cce231591fbbcdc6cbaf74b7e4f427662e6a /systemv/lp.c | |
parent | 9380acaa78e7b36fe924662ce3134bdb9acc4225 (diff) | |
download | cups-52f6f666c3ffd368f98d5be963e2e7a92f3dc82b.tar.gz |
Merge changes from CUPS 1.4svn-r8148.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1068 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv/lp.c')
-rw-r--r-- | systemv/lp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/systemv/lp.c b/systemv/lp.c index c14ec2d62..e09c79f82 100644 --- a/systemv/lp.c +++ b/systemv/lp.c @@ -3,7 +3,7 @@ * * "lp" command for the Common UNIX Printing System (CUPS). * - * Copyright 2007 by Apple Inc. + * Copyright 2007-2008 by Apple Inc. * Copyright 1997-2007 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -418,8 +418,12 @@ main(int argc, /* I - Number of command-line arguments */ num_options = cupsAddOption("job-hold-until", "no-hold", num_options, &options); else if (!strcmp(val, "immediate")) + { + num_options = cupsAddOption("job-hold-until", "no-hold", + num_options, &options); num_options = cupsAddOption("job-priority", "100", num_options, &options); + } else if (!strcmp(val, "restart")) { if (job_id < 1) |