On Thu, Oct 04, 2001 at 12:16:40 +0300, Peter Pentchev wrote:
> +                     abuf = calloc(1, len + 1);
> +                     if (abuf == NULL) {
> +                             errno = ENOMEM;
> +                             err(1, "reallocating");
> +                     }

To overwrite errno set by calloc() is wrong.

-- 
Andrey A. Chernov
http://ache.pp.ru/

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

Reply via email to