Instead of checking lp_wins_server() to see if a WINS server was specified,
commit7fed75b4cbeb4110c27525d6e4824c9bf73ceb56
authorChristopher R. Hertel <crh@samba.org>
Sun, 26 Aug 2001 06:24:03 +0000 (26 06:24 +0000)
committerChristopher R. Hertel <crh@samba.org>
Sun, 26 Aug 2001 06:24:03 +0000 (26 06:24 +0000)
tree7bceb9c32cfa46006fe448431163475a59293dce
parent2ebb098820d83ebab91d90243891e96389867bf3
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.
(This used to be commit 0777ebc04b838b6b9036a5d0a6e0565bb0a65d9f)
source3/nmbd/nmbd.c