In message <[EMAIL PROTECTED]> Mike Smith writes:
:       if (strlen(buf) >= sizeof(buf))
:               return(error);

This can never be true with the strl functions....  They don't run off
the end, so strlen(buf) is always going to be < sizeof(buf) since it
doesn't include the traling null.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to