another client code question

Jeremy Allison jra at samba.org
Thu Feb 15 14:46:09 GMT 2007


On Wed, Feb 14, 2007 at 08:30:20AM -0800, Herb Lewis wrote:
> struct cli_state declares an element "int timeout;"
> but this value is used as a parameter to client_receive_smb
> and other functions which declare it as unsigned int timeout.
> 
> Should we change the cli_state structure to have it
> as unsigned int timeout?

Any cases we're comparing to < 0 ? Or explicitly with == -1 ?

Jeremy.


More information about the samba-technical mailing list