- commented out unused curl method so now it should be able to compile on older libcurl

This commit is contained in:
Mark Vejvoda 2011-03-27 16:18:16 +00:00
parent 472fc2989a
commit 965ac7e00b
2 changed files with 3 additions and 0 deletions

View File

@ -2124,6 +2124,7 @@ int glestMain(int argc, char** argv) {
difftime(time(NULL),elapsed) <= 15;) {
//sleep(150);
}
sleep(25);
}
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);

View File

@ -96,6 +96,7 @@ static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream) {
return fwrite(buffer, size, nmemb, out->stream);
}
/*
static long file_is_comming(struct curl_fileinfo *finfo,void *data,int remains) {
struct FtpFile *out=(struct FtpFile *)data;
@ -171,6 +172,7 @@ static long file_is_downloaded(void *data) {
}
return CURL_CHUNK_END_FUNC_OK;
}
*/
int file_progress(struct FtpFile *out,double download_total, double download_now, double upload_total,double upload_now) {
//if(SystemFlags::VERBOSE_MODE_ENABLED) printf(" download progress [%f][%f][%f][%f] ",download_total,download_now,upload_total,upload_now);