summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c2
-rw-r--r--source3/web/swat.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index c9cb78f6f1..684086f61e 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -636,7 +636,7 @@ return the hostname of the client
char *cgi_remote_host(void)
{
if (inetd_server) {
- return get_socket_name(1,False);
+ return get_socket_name(1);
}
return getenv("REMOTE_HOST");
}
diff --git a/source3/web/swat.c b/source3/web/swat.c
index fc38852245..af6fa82ffe 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 (lp_wins_server_list() && strlen(*lp_wins_server_list()))
- winstype = 2;
-
+/* if (strlen(lp_wins_server_list()) != 0 )
+ * winstype = 2;
+ */
/* Do we have a homes share? */
have_home = lp_servicenumber(HOMES_NAME);