Fix ability to locate if we are a WINS client.
authorJohn Terpstra <jht@samba.org>
Mon, 7 Oct 2002 18:48:57 +0000 (18:48 +0000)
committerJohn Terpstra <jht@samba.org>
Mon, 7 Oct 2002 18:48:57 +0000 (18:48 +0000)
source/web/swat.c

index af6fa82ffe565c52b02cf1b2ee664e94cbbc1767..628ab662ce8e7aafd7096976b37369d2c1e5c36a 100644 (file)
@@ -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);