* curl-shim.c (curl_easy_perform): Fix build warning (code before

declaration).
This commit is contained in:
David Shaw 2005-12-06 18:49:34 +00:00
parent a635daa6b6
commit d6e918e40f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-06 David Shaw <dshaw@jabberwocky.com>
* curl-shim.c (curl_easy_perform): Fix build warning (code before
declaration).
2005-11-02 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (search_key): Fix warning with typecast (though

View File

@ -201,9 +201,10 @@ curl_easy_perform(CURL *curl)
while((len=iobuf_read_line(curl->hd.fp_read,
&line,&buflen,&maxlen)))
{
maxlen=1024;
size_t ret;
maxlen=1024;
ret=(curl->writer)(line,len,1,curl->file);
if(ret!=len)
{