summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-15 05:27:55 +0000
committerTim Potter <tpot@samba.org>2003-09-15 05:27:55 +0000
commitd26084868ac3088b7709889db9bd988c2e8a95ff (patch)
treeb2fb028d284a3cbe4cb47a1e524c0637c43abbd4
parent4d0d68191173aae351f12dc5805856980dcbfeb7 (diff)
downloadsamba-d26084868ac3088b7709889db9bd988c2e8a95ff.tar.gz
samba-d26084868ac3088b7709889db9bd988c2e8a95ff.tar.bz2
samba-d26084868ac3088b7709889db9bd988c2e8a95ff.zip
Merge from Samba 3.0:
>fix unitiailized timestamp where merging print_jobs and lpq listing (This used to be commit 1603d0e6848a8ec3f7d8a8f735c9d1a6d92aac0b)
-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++;