summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-07 14:08:13 +0200
committerMichael Adam <obnox@samba.org>2012-05-07 14:09:09 +0200
commitfb58951f93909e95504eebc06119b96d864c8425 (patch)
treed69b5dbe23c36fc2353ab7f76e8a84358c9ad013 /source3
parent246409e17e83d50c99be9590aa38a3acba9813ad (diff)
downloadsamba-fb58951f93909e95504eebc06119b96d864c8425.tar.gz
samba-fb58951f93909e95504eebc06119b96d864c8425.tar.bz2
samba-fb58951f93909e95504eebc06119b96d864c8425.zip
s3:registry: let reg_subkeys_need_update() return true if the backend does not implement the method
Otherwise the subkey cache might become outdated.
Diffstat (limited to 'source3')
-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 765954e502..2b5e5a72a4 100644
--- a/source3/registry/reg_dispatcher.c
+++ b/source3/registry/reg_dispatcher.c
@@ -244,7 +244,7 @@ bool reg_subkeys_need_update(struct registry_key_handle *key,
return key->ops->subkeys_need_update(subkeys);
}
- return false;
+ return true;
}
/**