|
|
@ -64,8 +64,8 @@ bittorrent::bittorrent() : DHTEnabled(false), preAllocateAll(false), addInPause( |
|
|
|
// Check if we should spoof utorrent
|
|
|
|
// Check if we should spoof utorrent
|
|
|
|
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent")); |
|
|
|
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent")); |
|
|
|
if(settings.value(QString::fromUtf8("Preferences/Bittorrent/AzureusSpoof"), false).toBool()) { |
|
|
|
if(settings.value(QString::fromUtf8("Preferences/Bittorrent/AzureusSpoof"), false).toBool()) { |
|
|
|
s = new session(fingerprint("UT", 1, 8, 4, 0), 0); |
|
|
|
s = new session(fingerprint("UT", 1, 8, 5, 0), 0); |
|
|
|
qDebug("Peer ID: %s", fingerprint("UT", 1, 8, 4, 0).to_string().c_str()); |
|
|
|
qDebug("Peer ID: %s", fingerprint("UT", 1, 8, 5, 0).to_string().c_str()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0), 0); |
|
|
|
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0), 0); |
|
|
|
qDebug("Peer ID: %s", fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0).to_string().c_str()); |
|
|
|
qDebug("Peer ID: %s", fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0).to_string().c_str()); |
|
|
|