cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Bug in Curl-7.6.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Feb 2001 09:06:07 +0100 (MET)

On Sat, 17 Feb 2001, SM wrote:

> There is a bug in line 557 of the include/curl/curl.h file. The line
> should be:
>
> CURLcode curl_read(CURLconnect *c_conn, char *buf, size_t buffersize,
> size_t *n);

Why should it? The function is declared to take a ssize_t argument in
lib/sendf.c!

The function is never used anywhere though. In the next libcurl release, that
prototype won't be present in curl/curl.h.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-02-19