summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-11 17:01:26 +0000
committerGerald Carter <jerry@samba.org>2003-09-11 17:01:26 +0000
commit8ce241cb80943c7f1af20529e23b8215678d1071 (patch)
tree35ac7cd43645289bd688f24eb69d3478c39e30f0 /source3/printing
parent1d0329c7686f3b657756c33b36c8cf797d01dced (diff)
downloadsamba-8ce241cb80943c7f1af20529e23b8215678d1071.tar.gz
samba-8ce241cb80943c7f1af20529e23b8215678d1071.tar.bz2
samba-8ce241cb80943c7f1af20529e23b8215678d1071.zip
fix unitiailized timestamp where merging print_jobs and lpq listing
(This used to be commit 8382cd6796992e55bf10f381089cb740052a0bca)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 1a7066f906..1a878afb92 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2184,6 +2184,7 @@ static BOOL get_stored_queue_info(struct tdb_print_db *pdb, int snum, int *pcoun
queue[total_count].page_count = pjob->page_count;
queue[total_count].status = pjob->status;
queue[total_count].priority = 1;
+ queue[total_count].time = pjob->starttime;
fstrcpy(queue[total_count].fs_user, pjob->user);
fstrcpy(queue[total_count].fs_file, pjob->jobname);
total_count++;