hooklib/reg.c: Don't log read accesses

Output volume there is a little much.
This commit is contained in:
Tau 2019-05-28 17:13:26 -04:00
parent 96fe28b66c
commit 943c4e41c0

View File

@ -645,12 +645,6 @@ static LSTATUS reg_hook_query_val_locked(
if (val->read != NULL) { if (val->read != NULL) {
hr = val->read(bytes, nbytes); hr = val->read(bytes, nbytes);
err = reg_hook_propagate_hr(hr); err = reg_hook_propagate_hr(hr);
if (err == ERROR_SUCCESS && bytes != NULL) {
dprintf("Registry: Read virtual key %S value %S\n",
key->name,
val->name);
}
} else { } else {
dprintf("Registry: %S: Val %S has no read handler\n", dprintf("Registry: %S: Val %S has no read handler\n",
key->name, key->name,