summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 628ab662ce..fc38852245 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -696,7 +696,7 @@ static void wizard_page(void)
/* Now determine smb.conf WINS settings */
if (lp_wins_support())
winstype = 1;
- if (lp_wins_server_list() && if (strlen(*lp_wins_server_list()))
+ if (lp_wins_server_list() && strlen(*lp_wins_server_list()))
winstype = 2;