summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-07 14:09:28 +0200
committerMichael Adam <obnox@samba.org>2012-05-07 16:11:05 +0200
commit4754743860b4601465aa122021a8ae7ddb42f6a1 (patch)
treeeb797dcbe143027dc2df3a22687c4695f4d66fc0
parentfb58951f93909e95504eebc06119b96d864c8425 (diff)
downloadsamba-4754743860b4601465aa122021a8ae7ddb42f6a1.tar.gz
samba-4754743860b4601465aa122021a8ae7ddb42f6a1.tar.bz2
samba-4754743860b4601465aa122021a8ae7ddb42f6a1.zip
s3:registry: let reg_values_need_update() return true if the backend does not implement the method
Otherwise the value cache might become outdated. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 7 16:11:05 CEST 2012 on sn-devel-104
-rw-r--r--source3/registry/reg_dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_dispatcher.c b/source3/registry/reg_dispatcher.c
index 2b5e5a72a4..e9ed14bc7d 100644
--- a/source3/registry/reg_dispatcher.c
+++ b/source3/registry/reg_dispatcher.c
@@ -259,6 +259,6 @@ bool reg_values_need_update(struct registry_key_handle *key,
return key->ops->values_need_update(values);
}
- return false;
+ return true;
}