CVS update: samba/source/param

crh at samba.org crh at samba.org
Wed Aug 29 12:49:14 EST 2001


Date:	Tue Aug 28 19:49:14 2001
Author:	crh

Update of /data/cvs/samba/source/param
In directory va:/tmp/cvs-serv1384/param

Modified Files:
	loadparm.c 
Log Message:
lp_wins_server() is now lp_wins_server_list().

This should make it clear that the meaning of the parameter value has
changed.  It no longer represents *the* WINS server, but a list of WINS
servers.

I have made other changes in the code such that the lp_wins_server()
function is no longer necessary.  Whenever smb.conf is reloaded the list
managed by lib/wins_srv.c is refreshed.  The wins_srv_count() function
returns the number of entries in the list so, if the list is empty, it
will return 0 (which can be interpreted as "false" in an if() statement).

Chris -)-----



Revisions:
loadparm.c		1.332 => 1.333
	http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.332&r2=1.333




More information about the samba-cvs mailing list