summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-05-20 07:49:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:50 -0500
commit6ebd4a9d64caa8fb0fadc4276f526fb52e944c31 (patch)
tree5bbcef9fc49b63968e28775bf0baeb1c08168886 /source4
parent47a3f0cc3845630162a7c521740aee66918569ff (diff)
downloadsamba-6ebd4a9d64caa8fb0fadc4276f526fb52e944c31.tar.gz
samba-6ebd4a9d64caa8fb0fadc4276f526fb52e944c31.tar.bz2
samba-6ebd4a9d64caa8fb0fadc4276f526fb52e944c31.zip
r789: we return wrong number of entries
(This used to be commit c0c1596dbdb1769c3f10c8299f61807497b1d38a)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c2
1 files changed, 1 insertions, 1 deletions
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;