git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846db3a
)
werror: replace WERR_OBJECT_PATH_INVALID with WERR_BAD_PATHNAME in source3/registry...
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:29 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 27 Sep 2016 22:04:24 +0000
(
00:04
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/registry/reg_api_regf.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_api_regf.c
b/source3/registry/reg_api_regf.c
index 16a3fada0f3a2bab456efbd8ebf4fdda0523e05e..b83404c55e337b55ad352d77459b183591c12c57 100644
(file)
--- a/
source3/registry/reg_api_regf.c
+++ b/
source3/registry/reg_api_regf.c
@@
-188,7
+188,7
@@
static WERROR reg_write_tree(REGF_FILE *regfile, const char *keypath,
}
if (!keypath) {
- return WERR_
OBJECT_PATH_INVALID
;
+ return WERR_
BAD_PATHNAME
;
}
/* split up the registry key path */
@@
-198,7
+198,7
@@
static WERROR reg_write_tree(REGF_FILE *regfile, const char *keypath,
return WERR_NOT_ENOUGH_MEMORY;
}
if (!reg_split_key(key_tmp, &parentpath, &keyname)) {
- return WERR_
OBJECT_PATH_INVALID
;
+ return WERR_
BAD_PATHNAME
;
}
if (!keyname) {