1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

werror: replace WERR_NO_SUCH_SERVICE with WERR_SERVICE_DOES_NOT_EXIST in source3/rpc_server/svcctl/srv_svcctl_nt.c

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-12-03 15:24:30 +01:00 committed by Jeremy Allison
parent 0dfab6f0a0
commit 59c9c35bea

View File

@ -232,7 +232,7 @@ static WERROR create_open_service_handle(struct pipes_struct *p,
/* lookup the SERVICE_CONTROL_OPS */
if ( !(s_op = find_service_by_name( service )) ) {
result = WERR_NO_SUCH_SERVICE;
result = WERR_SERVICE_DOES_NOT_EXIST;
goto done;
}
@ -245,7 +245,7 @@ static WERROR create_open_service_handle(struct pipes_struct *p,
break;
default:
result = WERR_NO_SUCH_SERVICE;
result = WERR_SERVICE_DOES_NOT_EXIST;
goto done;
}