From dcec9322798ffb848ec70bae67220eb0526942ac Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 26 Mar 2010 13:36:00 +0100 Subject: s3-spoolss: return info for the correct printjob in _spoolss_GetJob(). Guenther --- source3/rpc_server/srv_spoolss_nt.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 0cf1e13328..bb14c597da 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -8481,9 +8481,10 @@ static WERROR getjob_level_1(TALLOC_CTX *mem_ctx, int i = 0; bool found = false; - for (i=0; i