summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-24 23:19:35 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 13:22:53 +0100
commit69be6f5c1d11a7beae41d27fa0d429020cbaf363 (patch)
tree7c5fbca3323ba8a2289326b87ea69838612efde3
parent8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c (diff)
downloadsamba-69be6f5c1d11a7beae41d27fa0d429020cbaf363.tar.gz
samba-69be6f5c1d11a7beae41d27fa0d429020cbaf363.tar.bz2
samba-69be6f5c1d11a7beae41d27fa0d429020cbaf363.zip
s3:registry: use regsubkey_ctr_get_seqnum() in reg_backend_db.c
Michael
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 15037d5965..667fa02154 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1501,7 +1501,7 @@ static WERROR regdb_set_secdesc(const char *key,
bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys)
{
- return (regdb_get_seqnum() != subkeys->seqnum);
+ return (regdb_get_seqnum() != regsubkey_ctr_get_seqnum(subkeys));
}
bool regdb_values_need_update(REGVAL_CTR *values)