summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/utils/testparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index d48cecba47b..c81d6e72e48 100644
--- a/source/utils/testparm.c
+++ b/source/utils/testparm.c
@@ -52,8 +52,8 @@ static int do_global_checks(void)
ret = 1;
}
- if (lp_wins_support() && wins_srv_count()) {
- printf("ERROR: both 'wins support = true' and 'wins server = <server>' \
+ if (lp_wins_support() && lp_wins_server_list()) {
+ printf("ERROR: both 'wins support = true' and 'wins server = <server list>' \
cannot be set in the smb.conf file. nmbd will abort with this setting.\n");
ret = 1;
}