From 087c162f8fb76b338a9b2e037669292f4f81c166 Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Thu, 6 Feb 1997 17:33:03 +0000 Subject: Fixed incorrect offset into array. jra@cygnus.com (This used to be commit 7c386c45b069462760b4a9c755959b67d5874cc1) --- source3/printing/printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit