diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-12-20 16:33:18 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-05-18 19:50:47 (GMT) |
commit | d594bc3e3aace883f1e98e699a30428a52a78d50 (patch) | |
tree | e0c5b98f963b991684af2726379d2af3cc90e402 /Swiften/Client | |
parent | fa8fd85f5c451648bb7cfbe275db19efa921d850 (diff) | |
download | swift-contrib-d594bc3e3aace883f1e98e699a30428a52a78d50.zip swift-contrib-d594bc3e3aace883f1e98e699a30428a52a78d50.tar.bz2 |
Replace accidental cerr with SWIFT_LOG
Change-Id: I1801265c1b65eacf97e1cd3c69bedeef63cca898
Diffstat (limited to 'Swiften/Client')
-rw-r--r-- | Swiften/Client/CoreClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp index d927c0b..da755b1 100644 --- a/Swiften/Client/CoreClient.cpp +++ b/Swiften/Client/CoreClient.cpp @@ -450,11 +450,11 @@ void CoreClient::resetSession() { void CoreClient::forceReset() { if (connector_) { - std::cerr << "Warning: Client not disconnected properly: Connector still active" << std::endl; + SWIFT_LOG(warning) << "Client not disconnected properly: Connector still active" << std::endl; resetConnector(); } if (sessionStream_ || connection_) { - std::cerr << "Warning: Client not disconnected properly: Session still active" << std::endl; + SWIFT_LOG(warning) << "Client not disconnected properly: Session still active" << std::endl; resetSession(); } } |