summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-31 20:23:35 +0100
committerGünther Deschner <gd@samba.org>2010-01-31 20:41:17 +0100
commit55ae3d1729170dfd462ad8375a9dc01889165f3d (patch)
tree211181bceaf7efd6b4ff6f5f21a0cf97bf42519e
parentf77714c8874a5caaca74d8176259604bc8c32117 (diff)
downloadsamba-55ae3d1729170dfd462ad8375a9dc01889165f3d.tar.gz
samba-55ae3d1729170dfd462ad8375a9dc01889165f3d.tar.bz2
samba-55ae3d1729170dfd462ad8375a9dc01889165f3d.zip
testprogs: also print printer info during GetPrinter spoolss test.
Guenther
-rw-r--r--testprogs/win32/spoolss/spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testprogs/win32/spoolss/spoolss.c b/testprogs/win32/spoolss/spoolss.c
index c44ec8494e..c74fb2066a 100644
--- a/testprogs/win32/spoolss/spoolss.c
+++ b/testprogs/win32/spoolss/spoolss.c
@@ -529,6 +529,10 @@ static BOOL test_GetPrinter(struct torture_context *tctx,
}
}
+ if (tctx->print) {
+ print_printer_info_bylevel(levels[i], buffer, 1);
+ }
+
free(buffer);
buffer = NULL;
}