cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bugfix: curl_multi_timeout ignores CURLOPT_TIMEOUT

From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 13 May 2009 06:59:13 +0200

2009/5/13, Luke Dashjr wrote:

> [...] Is this patch acceptable as-is, or does anyone have any
> suggestions/needs for revision before it can be merged into the next version
> of libcurl?

First comments come directly from the compiler. Better first fix all
errors and warnings...

multi.c: In function `update_timeout':
multi.c:894: error: structure has no member named `tv_secs'
multi.c:894: error: structure has no member named `tv_usecs'
multi.c:896:5: warning: C++ style comments are not allowed in ISO C90
multi.c:896:5: warning: (this will be reported only once per input file)
multi.c:901: warning: ISO C90 forbids mixed declarations and code
multi.c:911: warning: ISO C90 forbids mixed declarations and code

-- 
-=[Yang]=-
Received on 2009-05-13