mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Added a little debug for p2b
This commit is contained in:
parent
ce627de39d
commit
8b814c724c
1 changed files with 2 additions and 0 deletions
|
@ -1262,6 +1262,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
|||
}
|
||||
|
||||
if(version==1 || version==2) {
|
||||
qDebug ("p2b version 1 or 2");
|
||||
unsigned int start, end;
|
||||
|
||||
string name;
|
||||
|
@ -1283,6 +1284,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
|||
}
|
||||
}
|
||||
else if(version==3) {
|
||||
qDebug ("p2b version 3");
|
||||
unsigned int namecount;
|
||||
if(!stream.readRawData((char*)&namecount, sizeof(namecount))) {
|
||||
QMessageBox::critical(0, tr("I/O Error", "Input/Output Error"), tr("%1 is not a valid PeerGuardian P2B file.").arg(filePath));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue