summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/printing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index ab86db53f3..0737cf00d1 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2094,6 +2094,8 @@ int print_queue_length(int snum, print_status_struct *pstatus)
const char* sharename = lp_const_servicename( snum );
print_status_struct status;
int len;
+
+ ZERO_STRUCT( status );
/* make sure the database is up to date */
if (print_cache_expired(lp_const_servicename(snum), True))