summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-14 20:46:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-14 20:46:54 (GMT)
commitc6eb5912b471c17f9bd0e8dd647a00b8a2e37d08 (patch)
treeda8bf08b101a1bd9c7ce803b41389f15ef217960 /SwifTools/Notifier
parentddc0ef9f5520d1e1e18e134f1a8fbdb678bbbc94 (diff)
downloadswift-contrib-c6eb5912b471c17f9bd0e8dd647a00b8a2e37d08.zip
swift-contrib-c6eb5912b471c17f9bd0e8dd647a00b8a2e37d08.tar.bz2
Removed debug output.
Diffstat (limited to 'SwifTools/Notifier')
-rw-r--r--SwifTools/Notifier/GNTPNotifier.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/SwifTools/Notifier/GNTPNotifier.cpp b/SwifTools/Notifier/GNTPNotifier.cpp
index f96f94b..ab2ab09 100644
--- a/SwifTools/Notifier/GNTPNotifier.cpp
+++ b/SwifTools/Notifier/GNTPNotifier.cpp
@@ -39,8 +39,6 @@ GNTPNotifier::~GNTPNotifier() {
}
void GNTPNotifier::send(const std::string& message) {
- std::cout << "Send " << currentConnection << std::endl;
-
if (currentConnection) {
return;
}
@@ -52,7 +50,6 @@ void GNTPNotifier::send(const std::string& message) {
}
void GNTPNotifier::showMessage(Type type, const String& subject, const String& description, const boost::filesystem::path& picture, boost::function<void()> callback) {
- std::cout << "showMessage " << registered << std::endl;
if (registered) {
std::ostringstream message;
message << "GNTP/1.0 NOTIFY NONE\r\n";
@@ -71,16 +68,13 @@ void GNTPNotifier::handleConnectFinished(bool error) {
initialized = true;
registered = !error;
}
- std::cout << "Connect: " << initialized << " " << registered << std::endl;
if (!error) {
- std::cout << "Write data: " << currentMessage << std::endl;
currentConnection->write(currentMessage.c_str());
}
}
void GNTPNotifier::handleDataRead(const ByteArray& data) {
- std::cout << "Data read: " << data.getData() << std::endl;
currentConnection->onDataRead.disconnect(boost::bind(&GNTPNotifier::handleDataRead, this, _1));
currentConnection->onConnectFinished.disconnect(boost::bind(&GNTPNotifier::handleConnectFinished, this, _1));
currentConnection.reset();