testprogs: print job info levels in EnumJobs() spoolss tests.
[ira/wip.git] / testprogs / win32 / spoolss / spoolss.c
index ae8fc0fb129f4dd05fcba79d53bb2cd6c2fbf302..0318da36c7c2573d7f6f61dc69c2a6e442c970c2 100644 (file)
@@ -658,6 +658,10 @@ static BOOL test_EnumJobs(struct torture_context *tctx,
                        }
                }
 
+               if (tctx->print) {
+                       print_job_info_bylevel(levels[i], buffer, 1);
+               }
+
                free(buffer);
                buffer = NULL;
        }