On Thu, 13 Aug 2009 18:40:09 -0000, wibbled on for an age: > Log: > it looks as though the case of an incomplete fetch is an error > - FETCH_ERROR_NO_ERROR); > + FETCH_ERROR_UNKNOWN_CURL_ERROR);
No, that's not right. An incomplete fetch actually signals the end of the file. The requested amount (1K in this case) is always returned, unless there aren't that many bytes left in the file. FETCH_ERROR_NO_ERROR is therefore correct. Although technically if FRead returns -1 we do have an error, so that code could be improved. Regards Chris
