summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-25 15:54:00 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-28 10:24:58 +1000
commit0d810fceaff4f4320a34f55c44525cc07a71f4af (patch)
treed6cbf8f58f2e0955b963e0bed5f98dc850d5ba93 /source4
parent8aa85d7cbe5acee3900702f8fbdddb72ab26b578 (diff)
downloadsamba-0d810fceaff4f4320a34f55c44525cc07a71f4af.tar.gz
samba-0d810fceaff4f4320a34f55c44525cc07a71f4af.tar.bz2
samba-0d810fceaff4f4320a34f55c44525cc07a71f4af.zip
s4-drs: removed debug code that replicated a maximum of 10 objects at a time
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index a3cb9d6097..2bfdf5280a 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -481,8 +481,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
for(i=getnc_state->num_sent;
i<getnc_state->site_res->count &&
- (r->out.ctr->ctr6.object_count < r->in.req->req8.max_object_count) &&
- (r->out.ctr->ctr6.object_count < 10);
+ (r->out.ctr->ctr6.object_count < r->in.req->req8.max_object_count);
i++) {
int uSN;
struct drsuapi_DsReplicaObjectListItemEx *obj;