summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-01 13:33:44 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:09 +0200
commit18973fa109132bab8cb22a6757dbe4a206ea1a33 (patch)
treee80ba6e6b28912920f275ca3ae6145bc920e468f /source3
parenta25563035823e720a068c3021e01b0556feb7f18 (diff)
downloadsamba-18973fa109132bab8cb22a6757dbe4a206ea1a33.tar.gz
samba-18973fa109132bab8cb22a6757dbe4a206ea1a33.tar.bz2
samba-18973fa109132bab8cb22a6757dbe4a206ea1a33.zip
s3:registry: adapt the comment explaining the definition of the existence of a key.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index dd80940a0a..a9e06b3048 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1592,10 +1592,9 @@ static bool scan_parent_subkeys(struct db_context *db, const char *parent,
/**
* Check for the existence of a key.
*
- * Existence of a key is authoritatively defined by its
- * existence in the list of subkeys of its parent key.
- * The exeption of this are keys without a parent key,
- * i.e. the "base" keys (HKLM, HKCU, ...).
+ * Existence of a key is authoritatively defined by
+ * the existence of the record that contains the list
+ * of its subkeys.
*/
static bool regdb_key_exists(struct db_context *db, const char *key)
{