From b9942092cf3d0a9fbf94b51b576836a86059551b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 30 Sep 2002 15:18:59 +0000 Subject: fix logic error in testparm with wins servers --- source/utils/testparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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 = ' \ + if (lp_wins_support() && lp_wins_server_list()) { + printf("ERROR: both 'wins support = true' and 'wins server = ' \ cannot be set in the smb.conf file. nmbd will abort with this setting.\n"); ret = 1; } -- cgit