Don't overwrite tracker message

Use one of the tracker endpoint messages.
This commit is contained in:
Vladimir Golovnev (Glassez) 2021-04-17 11:40:41 +03:00
parent a4ce5d1687
commit 62a6c725d6
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
5 changed files with 45 additions and 24 deletions

View file

@ -52,6 +52,7 @@ namespace BitTorrent
int numSeeds = -1;
int numLeeches = -1;
int numDownloaded = -1;
QString message;
};
QString url;
@ -64,6 +65,7 @@ namespace BitTorrent
int numSeeds = -1;
int numLeeches = -1;
int numDownloaded = -1;
QString message;
};
bool operator==(const TrackerEntry &left, const TrackerEntry &right);