1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fixed incorrect offset into array.

jra@cygnus.com
This commit is contained in:
Samba Release Account 0001-01-01 00:00:00 +00:00
parent fa78061245
commit 7c386c45b0

View File

@ -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