summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-16 15:30:03 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-16 15:31:23 +0200
commitddc0d9deb32082a5d8d591800d638d0e96fa6ff3 (patch)
tree41d57fd0cf50b5e772f732f484ed660e81e77515 /source3
parentd1689221b482f53865af2c8b82c87ffd2a5493e5 (diff)
downloadsamba-ddc0d9deb32082a5d8d591800d638d0e96fa6ff3.tar.gz
samba-ddc0d9deb32082a5d8d591800d638d0e96fa6ff3.tar.bz2
samba-ddc0d9deb32082a5d8d591800d638d0e96fa6ff3.zip
libnet_dssync: use ctr[1|6]->more_data
metze (This used to be commit 6b7ddb6d664f5f3b62161cdb3abf12633b263a64)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_dssync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index 87d5e8aade..a251e418f9 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -418,7 +418,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
&ctx->session_key,
ctr1->first_object);
- if (ctr1->new_highwatermark.tmp_highest_usn > ctr1->new_highwatermark.highest_usn) {
+ if (ctr1->more_data) {
req.req5.highwatermark = ctr1->new_highwatermark;
last_query = false;
}
@@ -461,7 +461,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
&ctx->session_key,
ctr6->first_object);
- if (ctr6->new_highwatermark.tmp_highest_usn > ctr6->new_highwatermark.highest_usn) {
+ if (ctr6->more_data) {
req.req8.highwatermark = ctr6->new_highwatermark;
last_query = false;
}