1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3:registry: adapt the comment explaining the definition of the existence of a key.

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
This commit is contained in:
Michael Adam 2011-07-01 13:33:44 +02:00
parent a255630358
commit 18973fa109

View 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)
{