removed status member from FileDetails. Not used => misleading

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-12-13 19:41:52 +00:00
parent 607458dad7
commit 3add068cdd
2 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,7 @@ bool ftFileProvider::FileDetails(FileInfo &info)
info.transfered = 0 ; // unused info.transfered = 0 ; // unused
info.lastTS = 0; info.lastTS = 0;
info.status = FT_STATE_DOWNLOADING ; info.downloadStatus = FT_STATE_DOWNLOADING ;
info.peers.clear() ; info.peers.clear() ;
float total_transfer_rate = 0.0f ; float total_transfer_rate = 0.0f ;

View File

@ -194,7 +194,6 @@ class FileInfo
uint64_t size; uint64_t size;
uint64_t avail; /* how much we have */ uint64_t avail; /* how much we have */
int status;
double rank; double rank;
int age; int age;
@ -203,7 +202,7 @@ class FileInfo
/* Transfer Stuff */ /* Transfer Stuff */
uint64_t transfered; uint64_t transfered;
double tfRate; /* in kbytes */ double tfRate; /* in kbytes */
uint32_t downloadStatus; /* 0 = Err, 1 = Ok, 2 = Done */ uint32_t downloadStatus; // FT_STATE_DOWNLOADING & co. See rstypes.h
std::list<TransferInfo> peers; std::list<TransferInfo> peers;
DwlSpeed priority ; DwlSpeed priority ;