Re: Possible problem with zero-copy TCP and sendfile()

Wolfgang Rohdewald
2001-04-17T21:23:42Z

On Tuesday 17 April 2001 22:36, Jan Kasprzak wrote:
> +    if (len == -1 || len > 0 && len < count) {

are you sure there are no missing () ?

if ((len == -1) || (len > 0) && (len < count)) {

assumig that && has precedence over || (I believe so)