git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
registry: Improve error codes and update tests.
[ira/wip.git]
/
source
/
lib
/
registry
/
regf.c
diff --git
a/source/lib/registry/regf.c
b/source/lib/registry/regf.c
index 9b126cc8084fe4d08748c6ce000ee5138dd3e224..475ec7bb5d4edf91df6492840631c65a1201f127 100644
(file)
--- a/
source/lib/registry/regf.c
+++ b/
source/lib/registry/regf.c
@@
-575,7
+575,7
@@
static WERROR regf_get_value_by_name(TALLOC_CTX *mem_ctx,
}
if (W_ERROR_EQUAL(error, WERR_NO_MORE_ITEMS))
- return WERR_
NOT_FOUND
;
+ return WERR_
BADFILE
;
return error;
}