socket length arg fix (SAMBA_2_0 branch)

David Collier-Brown davecb at Canada.Sun.COM
Tue Dec 15 12:49:02 GMT 1998


Andrej Borsenkow wrote:

> That was exactly what I suggested (and what some other packages do).
> Unfortunately, somebody (I think, Tim Rice) reported, that his compiler
> gives warning but compiles the code. So it is not reliable as well.

	There's always the brutalist hack of "grep -i warning"
	on stderr (:-))

	I'd prefer a check with assert(sizeof(), but I can't
	figure out how to build it... sigh.

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | http://java.science.yorku.ca/~davecb
Work: (905) 477-0437, Home: (416) 223-8968, Email: davecb at canada.sun.com


More information about the samba-technical mailing list