summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2002-10-07 18:48:57 +0000
committerJohn Terpstra <jht@samba.org>2002-10-07 18:48:57 +0000
commitc63f6a95aeec73632f486617e58dcc1ea1170d07 (patch)
tree24e264d3652e5327a1aeb999d1df15d05d825488 /source3
parentc983424abb431aef56d09ca41bbb3359e286bfe9 (diff)
downloadsamba-c63f6a95aeec73632f486617e58dcc1ea1170d07.tar.gz
samba-c63f6a95aeec73632f486617e58dcc1ea1170d07.tar.bz2
samba-c63f6a95aeec73632f486617e58dcc1ea1170d07.zip
Fix ability to locate if we are a WINS client.
(This used to be commit f896232cffb398ff4fef0b39966b55a049173c60)
Diffstat (limited to 'source3')
-rw-r--r--source3/web/swat.c6
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);