summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/serverinfo.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:30 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:24 +0200
commit9219c9df44fbe2a8695430b5cea6842813899961 (patch)
treef137860ba6baca300d090cd5c4a50e9bdaab51e7 /source3/lib/netapi/serverinfo.c
parent52c8e962017e708571fd172121e48eea9b8ee2b1 (diff)
downloadsamba-9219c9df44fbe2a8695430b5cea6842813899961.tar.gz
werror: replace WERR_NO_SUCH_SERVICE with WERR_SERVICE_DOES_NOT_EXIST in source3/lib/netapi/serverinfo.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/netapi/serverinfo.c')
-rw-r--r--source3/lib/netapi/serverinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index 1053f807e15..9b6b8159856 100644
--- 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;
}