summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-02-06 17:33:03 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-02-06 17:33:03 +0000
commit087c162f8fb76b338a9b2e037669292f4f81c166 (patch)
tree2e994ea544ef0cc6626cb07f556d465e8e8cb881 /source3/printing
parenta513915cb6549672dc48d0e82f3184144e4f24b8 (diff)
downloadsamba-087c162f8fb76b338a9b2e037669292f4f81c166.tar.gz
samba-087c162f8fb76b338a9b2e037669292f4f81c166.tar.bz2
samba-087c162f8fb76b338a9b2e037669292f4f81c166.zip
Fixed incorrect offset into array.
jra@cygnus.com (This used to be commit 7c386c45b069462760b4a9c755959b67d5874cc1)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index f026d77156..d2071ace59 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -421,7 +421,7 @@ DEBUG(3,("Time reported for job %d is %s", buf->job, ctime(&buf->time)));
#ifdef LPRNG_PRIOTOK
/* Here I try to map the CLASS char to a number, but the number
is never shown in Print Manager under NT anyway... Magnus. */
- buf->priority = atoi(tok[LPRNG_PRIOTOK-('A'-1)]);
+ buf->priority = atoi(tok[LPRNG_PRIOTOK]-('A'-1));
#else
buf->priority = 1;
#endif