fix unitiailized timestamp where merging print_jobs and lpq listing
authorGerald Carter <jerry@samba.org>
Thu, 11 Sep 2003 17:01:26 +0000 (17:01 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 11 Sep 2003 17:01:26 +0000 (17:01 +0000)
(This used to be commit 8382cd6796992e55bf10f381089cb740052a0bca)

source3/printing/printing.c

index 1a7066f9069126c29408b59dfde7f45371f723ff..1a878afb925537b46905233ee80c4ac183afb56d 100644 (file)
@@ -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++;