From c63f6a95aeec73632f486617e58dcc1ea1170d07 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Mon, 7 Oct 2002 18:48:57 +0000 Subject: Fix ability to locate if we are a WINS client. (This used to be commit f896232cffb398ff4fef0b39966b55a049173c60) --- source3/web/swat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/web/swat.c b/source3/web/swat.c index af6fa82ffe..628ab662ce 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -696,9 +696,9 @@ static void wizard_page(void) /* Now determine smb.conf WINS settings */ if (lp_wins_support()) winstype = 1; -/* if (strlen(lp_wins_server_list()) != 0 ) - * winstype = 2; - */ + if (lp_wins_server_list() && if (strlen(*lp_wins_server_list())) + winstype = 2; + /* Do we have a homes share? */ have_home = lp_servicenumber(HOMES_NAME); -- cgit