s3:registry: adapt the comment explaining the definition of the existence of a key.
authorMichael Adam <obnox@samba.org>
Fri, 1 Jul 2011 11:33:44 +0000 (13:33 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 4 Jul 2011 18:02:09 +0000 (20:02 +0200)
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

source3/registry/reg_backend_db.c

index dd80940a0abda48ad5bbd15a1e8e2137206ae114..a9e06b30486f5afb48fdf6c0289683b61d2cce42 100644 (file)
@@ -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)
 {