Instead of checking lp_wins_server() to see if a WINS server was specified,
authorChristopher R. Hertel <crh@samba.org>
Sun, 26 Aug 2001 06:24:03 +0000 (06:24 +0000)
committerChristopher R. Hertel <crh@samba.org>
Sun, 26 Aug 2001 06:24:03 +0000 (06:24 +0000)
commit0777ebc04b838b6b9036a5d0a6e0565bb0a65d9f
treefe258382b809645c135c5e181c5c80231a41ce19
parentefaa9ef5e72c3748d97e43bba38a0ba47ff3438d
Instead of checking lp_wins_server() to see if a WINS server was specified,
nmbd now calls wins_srv_count().  This returns the number of WINS servers
specified in the 'wins server' parameter.  The return value will be zero if
'wins server' is not specified.

Quick change to make room for WINS failover.
source/nmbd/nmbd.c