git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebefc95
)
r7829: fix unitialized printer status field that was breaking migration of print...
author
Gerald Carter
<jerry@samba.org>
Wed, 22 Jun 2005 02:51:22 +0000
(
02:51
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:57:58 +0000
(10:57 -0500)
source/printing/printing.c
patch
|
blob
|
history
diff --git
a/source/printing/printing.c
b/source/printing/printing.c
index ab86db53f38ef6ffb593e42a7d0b2bceb5f8c1d2..0737cf00d1d07658897195d15d5176131980fa7a 100644
(file)
--- a/
source/printing/printing.c
+++ b/
source/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))