1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 06:17:58 +00:00

- Added a little debug for p2b

This commit is contained in:
Christophe Dumez 2008-05-17 19:31:38 +00:00
parent ce627de39d
commit 8b814c724c

View File

@ -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));