From d4ef70a7645fb2fb21c565566c20619ff5d1a7ec Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 1 Jul 2011 15:14:08 +1000 Subject: param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett --- source3/rpc_server/svcctl/srv_svcctl_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_server/svcctl') diff --git a/source3/rpc_server/svcctl/srv_svcctl_nt.c b/source3/rpc_server/svcctl/srv_svcctl_nt.c index f515906339..004aff4486 100644 --- a/source3/rpc_server/svcctl/srv_svcctl_nt.c +++ b/source3/rpc_server/svcctl/srv_svcctl_nt.c @@ -716,7 +716,7 @@ static WERROR fill_svc_config(TALLOC_CTX *mem_ctx, if ( strequal( name, "NETLOGON" ) && ( lp_servicenumber(name) == -1 ) ) config->start_type = SVCCTL_DISABLED; - else if ( strequal( name, "WINS" ) && ( !lp_wins_support() )) + else if ( strequal( name, "WINS" ) && ( !lp_we_are_a_wins_server() )) config->start_type = SVCCTL_DISABLED; else config->start_type = SVCCTL_DEMAND_START; -- cgit