diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-02-06 17:33:03 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-02-06 17:33:03 +0000 |
commit | 7c386c45b069462760b4a9c755959b67d5874cc1 (patch) | |
tree | 00776b92152ce650ed663e0ee09c53b7ea76a1ea /source/printing | |
parent | fa7806124563638673f54c27f375a3732c4efc47 (diff) | |
download | samba-7c386c45b069462760b4a9c755959b67d5874cc1.tar.gz |
Fixed incorrect offset into array.
jra@cygnus.com
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c index f026d77156e..d2071ace594 100644 --- a/source/printing/printing.c +++ b/source/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 |