summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-24 23:19:08 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 13:22:53 +0100
commit8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c (patch)
tree1ea5482198a859a5d236b4cc7d96868315ea064c /source3
parent3c15d053f543132d434fa0249e3eeeccfeaed43b (diff)
downloadsamba-8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c.tar.gz
samba-8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c.tar.bz2
samba-8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c.zip
s3:registry: use regsubkey_ctr_set_seqnum() in reg_backend_db.c
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 57f10f62a9..15037d5965 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1194,7 +1194,10 @@ int regdb_fetch_keys(const char *key, struct regsubkey_ctr *ctr)
goto done;
}
- ctr->seqnum = regdb_get_seqnum();
+ werr = regsubkey_ctr_set_seqnum(ctr, regdb_get_seqnum());
+ if (!W_ERROR_IS_OK(werr)) {
+ goto done;
+ }
value = regdb_fetch_key_internal(frame, key);