s3-net: fix type in rpc_service_list_internal(). Sorry...
authorGünther Deschner <gd@samba.org>
Thu, 8 Jan 2009 18:15:41 +0000 (19:15 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 8 Jan 2009 18:15:41 +0000 (19:15 +0100)
Guenther

source3/utils/net_rpc_service.c

index 3186b8c77941001da84a72b48d7e92c425bd1093..51d7bfbb23953ec8d8dca26454b3ee6b3df4f09b 100644 (file)
@@ -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));