From 9f44a95522162c0f4a61093efe1bf1f58b087358 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 30 Aug 2007 20:34:57 +0000 Subject: Renamed several libcurl error codes and options to make them more general and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3) --- lib/speedcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/speedcheck.c') diff --git a/lib/speedcheck.c b/lib/speedcheck.c index adda8a963..aa57ccd59 100644 --- a/lib/speedcheck.c +++ b/lib/speedcheck.c @@ -57,7 +57,7 @@ CURLcode Curl_speedcheck(struct SessionHandle *data, "Less than %d bytes/sec transfered the last %d seconds", data->set.low_speed_limit, data->set.low_speed_time); - return CURLE_OPERATION_TIMEOUTED; + return CURLE_OPERATION_TIMEDOUT; } Curl_expire(data, howlong); } -- cgit v1.2.3