From 6ebd4a9d64caa8fb0fadc4276f526fb52e944c31 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 20 May 2004 07:49:34 +0000 Subject: r789: we return wrong number of entries (This used to be commit c0c1596dbdb1769c3f10c8299f61807497b1d38a) --- source4/rpc_server/samr/dcesrv_samr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 62be2cd262..e980c25b80 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -301,7 +301,7 @@ static NTSTATUS samr_EnumDomains(struct dcesrv_call_state *dce_call, TALLOC_CTX } r->out.sam = array; - r->out.num_entries = i - start_i; + r->out.num_entries = i; array->count = r->out.num_entries; return NT_STATUS_OK; -- cgit