diff options
author | David Disseldorp <ddiss@samba.org> | 2012-01-27 12:33:27 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2012-06-26 16:10:39 +0200 |
commit | dbca645eecfabbd2c43d5b70152bb3001aaef00c (patch) | |
tree | e6dbab096c8c760008916b7c6a239d17a8885146 /source3/printing/print_iprint.c | |
parent | a66618f40223dfb0ef544169e32bfa074587df29 (diff) | |
download | samba-dbca645eecfabbd2c43d5b70152bb3001aaef00c.tar.gz samba-dbca645eecfabbd2c43d5b70152bb3001aaef00c.tar.bz2 samba-dbca645eecfabbd2c43d5b70152bb3001aaef00c.zip |
s3-printing: rename queue->job sysjob
Print jobs maintain two job identifiers, the jobid allocated by the
spoolss layer (pj->jobid), and the job identifier defined by the
printing backend (pj->sysjob).
Printer job queues currently only contain a single job identifier
variable (queue->job), the variable is sometimes representative of the
spoolss layer job identifier, and more often representative of the
printing backend id.
This change renames the queue job identifier from queue->job to
queue->sysjob, in preparation for a change to only store the printing
backend identifier.
Diffstat (limited to 'source3/printing/print_iprint.c')
-rw-r--r-- | source3/printing/print_iprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index 1ff705a383..78d5098fdf 100644 --- a/source3/printing/print_iprint.c +++ b/source3/printing/print_iprint.c @@ -1157,7 +1157,7 @@ static int iprint_queue_get(const char *sharename, continue; } - temp->job = job_id; + temp->sysjob = job_id; temp->size = job_k_octets * 1024; temp->status = job_status == IPP_JOB_PENDING ? LPQ_QUEUED : job_status == IPP_JOB_STOPPED ? LPQ_PAUSED : |