From e5323386143ad9950581b88cc0779ce36dceb6bd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 30 Sep 2002 19:26:44 +0000 Subject: logic error in checking wins servers--merged from HEAD (This used to be commit a1c4a16267653375fbbc73de9234ddadbe92a396) --- source3/utils/testparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index d48cecba47..c81d6e72e4 100644 --- a/source3/utils/testparm.c +++ b/source3/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