summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-24 18:07:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-24 18:07:54 (GMT)
commit98f0f0c5cee040d3b0df5ff4d695320b2f93da24 (patch)
treed65f2fd820f3c1879ff101471d23cdeba92905bd /Swift
parent84ab5d3499e9dbcb97fed23051a104d9b5e967cc (diff)
downloadswift-98f0f0c5cee040d3b0df5ff4d695320b2f93da24.zip
swift-98f0f0c5cee040d3b0df5ff4d695320b2f93da24.tar.bz2
Changed SWIFT_LOG("DEBUG") to SWIFT_LOG(debug).
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/FileTransfer/FileTransferController.cpp4
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));