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:
0dfab6f
)
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/rpc_server/svcctl/srv_svcctl_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/svcctl/srv_svcctl_nt.c
b/source3/rpc_server/svcctl/srv_svcctl_nt.c
index 4496b27c538b477668bf839fa4ab524c45d771db..e7fa75332181d5205ce0f52f3e3fafc5b23dc2b9 100644
(file)
--- a/
source3/rpc_server/svcctl/srv_svcctl_nt.c
+++ b/
source3/rpc_server/svcctl/srv_svcctl_nt.c
@@
-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;
}