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:
0cba859
)
Fix build warning introduced by making SERVICE_CONTROL an enum
author
Tim Prouty
<tprouty@samba.org>
Mon, 17 Nov 2008 18:21:29 +0000
(10:21 -0800)
committer
Tim Prouty
<tprouty@samba.org>
Mon, 17 Nov 2008 18:21:29 +0000
(10:21 -0800)
source3/rpc_server/srv_svcctl_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_svcctl_nt.c
b/source3/rpc_server/srv_svcctl_nt.c
index 4beab6488be8fdd90190743d6f47659e5490afbd..0bed13e522b6cb31b1cad644c1d0bef035651392 100644
(file)
--- a/
source3/rpc_server/srv_svcctl_nt.c
+++ b/
source3/rpc_server/srv_svcctl_nt.c
@@
-517,11
+517,9
@@
WERROR _svcctl_ControlService(pipes_struct *p,
return info->ops->service_status( info->name,
r->out.service_status );
+ default:
+ return WERR_ACCESS_DENIED;
}
-
- /* default control action */
-
- return WERR_ACCESS_DENIED;
}
/********************************************************************