svn commit: samba r11896 - in
branches/SAMBA_4_0/source/wrepl_server: .
metze at samba.org
metze at samba.org
Fri Nov 25 10:08:31 GMT 2005
Author: metze
Date: 2005-11-25 10:08:31 +0000 (Fri, 25 Nov 2005)
New Revision: 11896
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11896
Log:
max_version of 0 means unlimited
metze
Modified:
branches/SAMBA_4_0/source/wrepl_server/wrepl_in_call.c
Changeset:
Modified: branches/SAMBA_4_0/source/wrepl_server/wrepl_in_call.c
===================================================================
--- branches/SAMBA_4_0/source/wrepl_server/wrepl_in_call.c 2005-11-25 08:24:36 UTC (rev 11895)
+++ branches/SAMBA_4_0/source/wrepl_server/wrepl_in_call.c 2005-11-25 10:08:31 UTC (rev 11896)
@@ -217,6 +217,14 @@
}
/*
+ * the client sends a max_version of 0, interpret it as
+ * (uint64_t)-1
+ */
+ if (owner_in->max_version == 0) {
+ owner_in->max_version = (uint64_t)-1;
+ }
+
+ /*
* if the partner ask for nothing, or give invalid ranges,
* return an empty list.
*/
More information about the samba-cvs
mailing list