mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Follow http user-agent format
Add version variable without the starting "v"
This commit is contained in:
parent
cb1646be32
commit
2091dfaa69
5 changed files with 14 additions and 10 deletions
|
@ -91,7 +91,7 @@
|
|||
|
||||
static const char PEER_ID[] = "qB";
|
||||
static const char RESUME_FOLDER[] = "BT_backup";
|
||||
static const char USER_AGENT[] = "qBittorrent " VERSION;
|
||||
static const char USER_AGENT[] = "qBittorrent/" QBT_VERSION; // to pass trackers whitelists, using the "v" prefixed version string
|
||||
|
||||
namespace libt = libtorrent;
|
||||
using namespace BitTorrent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue