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:
74a1ed3
)
s3-net: fix type in rpc_service_list_internal(). Sorry...
author
Günther Deschner
<gd@samba.org>
Thu, 8 Jan 2009 18:15:41 +0000
(19:15 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 8 Jan 2009 18:15:41 +0000
(19:15 +0100)
Guenther
source3/utils/net_rpc_service.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_service.c
b/source3/utils/net_rpc_service.c
index 3186b8c77941001da84a72b48d7e92c425bd1093..51d7bfbb23953ec8d8dca26454b3ee6b3df4f09b 100644
(file)
--- a/
source3/utils/net_rpc_service.c
+++ b/
source3/utils/net_rpc_service.c
@@
-225,7
+225,7
@@
static NTSTATUS rpc_service_list_internal(struct net_context *c,
}
result = rpccli_svcctl_enumerate_services(pipe_hnd, mem_ctx, &hSCM, SERVICE_TYPE_WIN32,
- S
VCCTL
_STATE_ALL, &num_services, &services );
+ S
ERVICE
_STATE_ALL, &num_services, &services );
if ( !W_ERROR_IS_OK(result) ) {
d_fprintf(stderr, "Failed to enumerate services. [%s]\n", win_errstr(result));