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:
52c8e96
)
werror: replace WERR_NO_SUCH_SERVICE with WERR_SERVICE_DOES_NOT_EXIST in source3...
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:30 +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/lib/netapi/serverinfo.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/serverinfo.c
b/source3/lib/netapi/serverinfo.c
index 1053f807e15d51d934d7d372a02afb0b95d162d5..9b6b81598562cbb74b2c5335531cd0e70d26f8cb 100644
(file)
--- a/
source3/lib/netapi/serverinfo.c
+++ b/
source3/lib/netapi/serverinfo.c
@@
-569,7
+569,7
@@
static WERROR NetServerSetInfo_l_1005(struct libnetapi_ctx *ctx,
libnetapi_set_error_string(ctx,
"Could not initialize backend: %s",
sbcErrorString(err));
- werr = WERR_
NO_SUCH_SERVICE
;
+ werr = WERR_
SERVICE_DOES_NOT_EXIST
;
goto done;
}
@@
-579,7
+579,7
@@
static WERROR NetServerSetInfo_l_1005(struct libnetapi_ctx *ctx,
libnetapi_set_error_string(ctx,
"Could not set global parameter: %s",
sbcErrorString(err));
- werr = WERR_
NO_SUCH_SERVICE
;
+ werr = WERR_
SERVICE_DOES_NOT_EXIST
;
goto done;
}