summaryrefslogtreecommitdiff
path: root/src/BtBitfieldMessageValidator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BtBitfieldMessageValidator.h')
-rw-r--r--src/BtBitfieldMessageValidator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/BtBitfieldMessageValidator.h b/src/BtBitfieldMessageValidator.h
index 710dcd7b..259cb1de 100644
--- a/src/BtBitfieldMessageValidator.h
+++ b/src/BtBitfieldMessageValidator.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
@@ -47,15 +47,15 @@ private:
size_t numPiece;
public:
BtBitfieldMessageValidator(const BtBitfieldMessage* message,
- size_t numPiece):
+ size_t numPiece):
message(message),
numPiece(numPiece) {}
virtual bool validate(Errors& error) {
// TODO
bittorrent::checkBitfield(message->getBitfield(),
- message->getBitfieldLength(),
- numPiece);
+ message->getBitfieldLength(),
+ numPiece);
return true;
}
};