diff options
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |