summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-03 12:47:46 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-03 12:47:46 +0200
commit368aa25f7c1a2b8c05780479b1e03a2632c42d11 (patch)
tree83025b2f919a9c8bd84c2931590a463fc23825b0 /source4/dsdb/samdb/ldb_modules
parent4df9757b48d72f0fd33ef6b7b4e359d6baa9b44f (diff)
downloadsamba-368aa25f7c1a2b8c05780479b1e03a2632c42d11.tar.gz
samba-368aa25f7c1a2b8c05780479b1e03a2632c42d11.tar.bz2
samba-368aa25f7c1a2b8c05780479b1e03a2632c42d11.zip
s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
index ae08c0025f..48e195bc21 100644
--- a/source4/dsdb/samdb/ldb_modules/util.c
+++ b/source4/dsdb/samdb/ldb_modules/util.c
@@ -779,7 +779,7 @@ int dsdb_module_load_partition_usn(struct ldb_module *module, struct ldb_dn *dn,
return ret;
}
- if (res->count < 1) {
+ if (res->count != 1) {
*uSN = 0;
if (urgent_uSN) {
*urgent_uSN = 0;