diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 4f50b402c1..f65355cb48 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -848,6 +848,7 @@ int print_queue_length(int snum, print_status_struct *pstatus) print_queue_update(snum); /* also fetch the queue status */ + memset(&status, 0, sizeof(status)); len = get_queue_status(snum, &status); if (pstatus) *pstatus = status; |