mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
r7829: fix unitialized printer status field that was breaking migration of print queues
(This used to be commit ada1d326aeef4a2f33a360a8ea4a874e59fcfee6)
This commit is contained in:
parent
c3878e6bf6
commit
18dc1009e6
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user