testprogs: fix EnumJobs debug output in spoolss test.
authorGünther Deschner <gd@samba.org>
Mon, 15 Feb 2010 20:45:59 +0000 (21:45 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 15 Feb 2010 21:12:34 +0000 (22:12 +0100)
Found by Kai, thanks!

Guenther

testprogs/win32/spoolss/spoolss.c

index 0318da36c7c2573d7f6f61dc69c2a6e442c970c2..b83259dd90a934953b77efbde8702dff91e2ead0 100644 (file)
@@ -659,7 +659,7 @@ static BOOL test_EnumJobs(struct torture_context *tctx,
                }
 
                if (tctx->print) {
-                       print_job_info_bylevel(levels[i], buffer, 1);
+                       print_job_info_bylevel(levels[i], buffer, returned);
                }
 
                free(buffer);