mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/lib/netapi/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
3a33b6652d
commit
9bde08f153
@ -486,7 +486,7 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx,
|
||||
struct dcerpc_binding_handle *b;
|
||||
|
||||
if (!r->out.buffer) {
|
||||
return WERR_INVALID_PARAM;
|
||||
return WERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
switch (r->in.level) {
|
||||
@ -547,14 +547,14 @@ static WERROR NetServerSetInfo_l_1005(struct libnetapi_ctx *ctx,
|
||||
|
||||
if (!r->in.buffer) {
|
||||
*r->out.parm_error = 1005; /* sure here ? */
|
||||
return WERR_INVALID_PARAM;
|
||||
return WERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
info1005 = (struct srvsvc_NetSrvInfo1005 *)r->in.buffer;
|
||||
|
||||
if (!info1005->comment) {
|
||||
*r->out.parm_error = 1005;
|
||||
return WERR_INVALID_PARAM;
|
||||
return WERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (!lp_config_backend_is_registry()) {
|
||||
|
Reference in New Issue
Block a user