fix return value of CL_cURL_CallbackWrite (#3804)

This commit is contained in:
Ludwig Nussel 2008-10-24 07:08:52 +00:00
parent 7d9ba904ec
commit ce907f32cc

View file

@ -218,7 +218,7 @@ static int CL_cURL_CallbackProgress( void *dummy, double dltotal, double dlnow,
return 0;
}
static int CL_cURL_CallbackWrite(void *buffer, size_t size, size_t nmemb,
static size_t CL_cURL_CallbackWrite(void *buffer, size_t size, size_t nmemb,
void *stream)
{
FS_Write( buffer, size*nmemb, ((fileHandle_t*)stream)[0] );