From 3add068cdd34fcf12199052f6d686ac0455a4ad0 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 13 Dec 2013 19:41:52 +0000 Subject: [PATCH] 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 --- libretroshare/src/ft/ftfileprovider.cc | 2 +- libretroshare/src/retroshare/rstypes.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/ft/ftfileprovider.cc b/libretroshare/src/ft/ftfileprovider.cc index 991e968f1..c396abb9d 100644 --- a/libretroshare/src/ft/ftfileprovider.cc +++ b/libretroshare/src/ft/ftfileprovider.cc @@ -75,7 +75,7 @@ bool ftFileProvider::FileDetails(FileInfo &info) info.transfered = 0 ; // unused info.lastTS = 0; - info.status = FT_STATE_DOWNLOADING ; + info.downloadStatus = FT_STATE_DOWNLOADING ; info.peers.clear() ; float total_transfer_rate = 0.0f ; diff --git a/libretroshare/src/retroshare/rstypes.h b/libretroshare/src/retroshare/rstypes.h index e1cc7ab54..3a646f75d 100644 --- a/libretroshare/src/retroshare/rstypes.h +++ b/libretroshare/src/retroshare/rstypes.h @@ -194,7 +194,6 @@ class FileInfo uint64_t size; uint64_t avail; /* how much we have */ - int status; double rank; int age; @@ -203,7 +202,7 @@ class FileInfo /* Transfer Stuff */ uint64_t transfered; 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 peers; DwlSpeed priority ;