summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-03-21 16:55:19 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-03-21 19:22:04 (GMT)
commit2fa37f2976b933ca0bcf5f85dd1615805776d67d (patch)
tree13dee073fa89aba58ed8d93660abd3bf06c6a712 /Swiften/FileTransfer/IncomingJingleFileTransfer.cpp
parent8680839b69f431d293c17863e56db8963e4ade74 (diff)
downloadswift-contrib-2fa37f2976b933ca0bcf5f85dd1615805776d67d.zip
swift-contrib-2fa37f2976b933ca0bcf5f85dd1615805776d67d.tar.bz2
Fix typo. (Thanks dreijer)
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swiften/FileTransfer/IncomingJingleFileTransfer.cpp')
-rw-r--r--Swiften/FileTransfer/IncomingJingleFileTransfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp b/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp
index 0871568..35f6bea 100644
--- a/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp
+++ b/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp
@@ -79,7 +79,7 @@ IncomingJingleFileTransfer::~IncomingJingleFileTransfer() {
stream->onWrite.disconnect(boost::bind(&IncrementalBytestreamHashCalculator::feedData, hashCalculator, _1));
delete hashCalculator;
- session->onSessionTerminateReceived.disconnect(boost::bind(&IncomingJingleFileTransfer::handleSessionTerminateReceived, this));
+ session->onSessionTerminateReceived.disconnect(boost::bind(&IncomingJingleFileTransfer::handleSessionTerminateReceived, this, _1));
session->onTransportReplaceReceived.disconnect(boost::bind(&IncomingJingleFileTransfer::handleTransportReplaceReceived, this, _1, _2));
session->onTransportInfoReceived.disconnect(boost::bind(&IncomingJingleFileTransfer::handleTransportInfoReceived, this, _1, _2));