summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 80f7709280..d968157a3a 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -65,7 +65,6 @@
#include "dlinklist.h"
#include "param/loadparm.h"
-BOOL in_client = False; /* Not in the client by default */
static BOOL bLoaded = False;
#ifndef GLOBAL_NAME
@@ -3025,9 +3024,7 @@ BOOL lp_load(const char *pszFname)
bLoaded = True;
- /* Now we check bWINSsupport and set szWINSserver to 127.0.0.1 */
- /* if bWINSsupport is true and we are in the client */
- if (in_client && Globals.bWINSsupport) {
+ if (Globals.bWINSsupport) {
lp_do_parameter(-1, "wins server", "127.0.0.1");
}