git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d30db
)
Fix ability to locate if we are a WINS client.
author
John Terpstra
<jht@samba.org>
Mon, 7 Oct 2002 18:48:57 +0000
(18:48 +0000)
committer
John Terpstra
<jht@samba.org>
Mon, 7 Oct 2002 18:48:57 +0000
(18:48 +0000)
source/web/swat.c
patch
|
blob
|
history
diff --git
a/source/web/swat.c
b/source/web/swat.c
index af6fa82ffe565c52b02cf1b2ee664e94cbbc1767..628ab662ce8e7aafd7096976b37369d2c1e5c36a 100644
(file)
--- a/
source/web/swat.c
+++ b/
source/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);