diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-30 15:18:59 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-30 15:18:59 +0000 |
commit | b9942092cf3d0a9fbf94b51b576836a86059551b (patch) | |
tree | 992cf3d0ac2cae8f76a5c8e62d304a835c1e2613 | |
parent | 2613d3a48a8d60c3db38406a1abd943dbe0b7d09 (diff) | |
download | samba-b9942092cf3d0a9fbf94b51b576836a86059551b.tar.gz samba-b9942092cf3d0a9fbf94b51b576836a86059551b.tar.xz samba-b9942092cf3d0a9fbf94b51b576836a86059551b.zip |
fix logic error in testparm with wins servers
-rw-r--r-- | source/utils/testparm.c | 4 |
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; } |