summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-08 19:15:41 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 19:15:41 +0100
commit154e08f275f1d20f0c8bdf1c876dc1ec780b1db2 (patch)
tree52dd8b87c8ec843e325452d3d65f5ff9e744b86f
parent74a1ed3e28b92836bf72a658aefd7b8ad59792cd (diff)
downloadsamba-154e08f275f1d20f0c8bdf1c876dc1ec780b1db2.tar.gz
samba-154e08f275f1d20f0c8bdf1c876dc1ec780b1db2.tar.bz2
samba-154e08f275f1d20f0c8bdf1c876dc1ec780b1db2.zip
s3-net: fix type in rpc_service_list_internal(). Sorry...
Guenther
-rw-r--r--source3/utils/net_rpc_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_service.c b/source3/utils/net_rpc_service.c
index 3186b8c779..51d7bfbb23 100644
--- 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,
- SVCCTL_STATE_ALL, &num_services, &services );
+ SERVICE_STATE_ALL, &num_services, &services );
if ( !W_ERROR_IS_OK(result) ) {
d_fprintf(stderr, "Failed to enumerate services. [%s]\n", win_errstr(result));