summaryrefslogtreecommitdiff
path: root/source3/printing/print_generic.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-28 18:12:49 +0000
committerJeremy Allison <jra@samba.org>2001-03-28 18:12:49 +0000
commitb7cd417ba69d81bc71cb4ba432fade517d82b552 (patch)
treeb9f912b88c536c0d01b7d2f8b730386ff0dba457 /source3/printing/print_generic.c
parent738a83a14f1eba8fceeec41ab81c7e9da944ccda (diff)
downloadsamba-b7cd417ba69d81bc71cb4ba432fade517d82b552.tar.gz
samba-b7cd417ba69d81bc71cb4ba432fade517d82b552.tar.bz2
samba-b7cd417ba69d81bc71cb4ba432fade517d82b552.zip
Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status to
be returned. Jeremy. CVS ---------------------------------------------------------------------- (This used to be commit 5b7f4cf271ad449277c0ea7a825ed4d50205d729)
Diffstat (limited to 'source3/printing/print_generic.c')
-rw-r--r--source3/printing/print_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c
index 1cbe4a080f..4665a78609 100644
--- a/source3/printing/print_generic.c
+++ b/source3/printing/print_generic.c
@@ -213,7 +213,7 @@ static int generic_queue_get(int snum, print_queue_struct **q, print_status_stru
/* turn the lpq output into a series of job structures */
qcount = 0;
- ZERO_STRUCT(status);
+ ZERO_STRUCTP(status);
if (numlines)
queue = (print_queue_struct *)malloc(sizeof(print_queue_struct)*(numlines+1));