diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-24 18:07:54 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-24 18:07:54 (GMT) |
commit | 98f0f0c5cee040d3b0df5ff4d695320b2f93da24 (patch) | |
tree | d65f2fd820f3c1879ff101471d23cdeba92905bd /Swift/Controllers/FileTransfer | |
parent | 84ab5d3499e9dbcb97fed23051a104d9b5e967cc (diff) | |
download | swift-contrib-98f0f0c5cee040d3b0df5ff4d695320b2f93da24.zip swift-contrib-98f0f0c5cee040d3b0df5ff4d695320b2f93da24.tar.bz2 |
Changed SWIFT_LOG("DEBUG") to SWIFT_LOG(debug).
Diffstat (limited to 'Swift/Controllers/FileTransfer')
-rw-r--r-- | Swift/Controllers/FileTransfer/FileTransferController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/FileTransfer/FileTransferController.cpp b/Swift/Controllers/FileTransfer/FileTransferController.cpp index f1fd19e..a25dfe6 100644 --- a/Swift/Controllers/FileTransfer/FileTransferController.cpp +++ b/Swift/Controllers/FileTransfer/FileTransferController.cpp @@ -70,7 +70,7 @@ boost::uintmax_t FileTransferController::getSize() const { } void FileTransferController::start(std::string& description) { - SWIFT_LOG("DEBUG") << "FileTransferController::start" << std::endl; + SWIFT_LOG(debug) << "FileTransferController::start" << std::endl; fileReadStream = boost::make_shared<FileReadBytestream>(boost::filesystem::path(filename)); OutgoingFileTransfer::ref outgoingTransfer = ftManager->createOutgoingFileTransfer(otherParty, boost::filesystem::path(filename), description, fileReadStream); if (outgoingTransfer) { @@ -86,7 +86,7 @@ void FileTransferController::start(std::string& description) { } void FileTransferController::accept(std::string& file) { - SWIFT_LOG("DEBUG") << "FileTransferController::accept" << std::endl; + SWIFT_LOG(debug) << "FileTransferController::accept" << std::endl; IncomingFileTransfer::ref incomingTransfer = boost::dynamic_pointer_cast<IncomingFileTransfer>(transfer); if (incomingTransfer) { fileWriteStream = boost::make_shared<FileWriteBytestream>(boost::filesystem::path(file)); |