testprogs: also print printer info during GetPrinter spoolss test.
authorGünther Deschner <gd@samba.org>
Sun, 31 Jan 2010 19:23:35 +0000 (20:23 +0100)
committerGünther Deschner <gd@samba.org>
Sun, 31 Jan 2010 19:41:17 +0000 (20:41 +0100)
Guenther

testprogs/win32/spoolss/spoolss.c

index c44ec8494e72e0e79bff2b0789f8f9d40db0eaee..c74fb2066a934b0947a79b981e3d8c4dcd223e8f 100644 (file)
@@ -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;
        }