git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6748cda
)
werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source3/libgpo/gpo_reg.c
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:11 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 27 Sep 2016 22:04:17 +0000
(
00:04
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libgpo/gpo_reg.c
patch
|
blob
|
history
diff --git
a/source3/libgpo/gpo_reg.c
b/source3/libgpo/gpo_reg.c
index d35c7db7be4cb59eb3b9bf73607089658c063db7..41e9d468e07552eb1d515beafa499e759424c782 100644
(file)
--- a/
source3/libgpo/gpo_reg.c
+++ b/
source3/libgpo/gpo_reg.c
@@
-665,7
+665,7
@@
WERROR gp_reg_state_read(TALLOC_CTX *mem_ctx,
}
werr = gp_read_reg_subkey(mem_ctx, reg_ctx, subkeyname, &key);
- if (W_ERROR_EQUAL(werr, WERR_
BADFILE
)) {
+ if (W_ERROR_EQUAL(werr, WERR_
FILE_NOT_FOUND
)) {
werr = WERR_OK;
break;
}