summaryrefslogtreecommitdiff
path: root/systemv/lpmove.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-12-07 19:47:43 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-12-07 19:47:43 +0000
commit0a6827453a0fe4a97ad37a6a1a7ffeb96a10e339 (patch)
treea8d99742dbf22a4efaaff8ce0df72082ef948943 /systemv/lpmove.c
parenta41f09e265d6451d22585430ca176ff406d59f9b (diff)
downloadcups-0a6827453a0fe4a97ad37a6a1a7ffeb96a10e339.tar.gz
Import CUPS trunk (1.4svn) r7116.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@551 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv/lpmove.c')
-rw-r--r--systemv/lpmove.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemv/lpmove.c b/systemv/lpmove.c
index e991dfd9a..0795737f1 100644
--- a/systemv/lpmove.c
+++ b/systemv/lpmove.c
@@ -121,6 +121,9 @@ main(int argc, /* I - Number of command-line arguments */
if ((job = strrchr(argv[i], '-')) != NULL &&
cupsGetDest(argv[i], NULL, num_dests, dests) == NULL)
jobid = atoi(job + 1);
+ else if (isdigit(argv[i][0] & 255) &&
+ !cupsGetDest(argv[i], NULL, num_dests, dests))
+ jobid = atoi(argv[i]);
else
src = argv[i];
}