summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-09-01 20:01:44 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-09-01 20:01:44 +0200
commitc3309d0acfedaed867ae1bc14cd7a65fe5be1419 (patch)
tree0d20fe67c90ac73994f732cd495fcfcb3edf8f41
parentf3b3d937ae274d0eec4a737d11ba19a7f4ceef03 (diff)
downloadbiboumi-c3309d0acfedaed867ae1bc14cd7a65fe5be1419.tar.gz
biboumi-c3309d0acfedaed867ae1bc14cd7a65fe5be1419.tar.bz2
biboumi-c3309d0acfedaed867ae1bc14cd7a65fe5be1419.tar.xz
biboumi-c3309d0acfedaed867ae1bc14cd7a65fe5be1419.zip
Trivial cleanup
-rw-r--r--louloulibs/xmpp/xmpp_component.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/louloulibs/xmpp/xmpp_component.cpp b/louloulibs/xmpp/xmpp_component.cpp
index 8cd722d..2214ecf 100644
--- a/louloulibs/xmpp/xmpp_component.cpp
+++ b/louloulibs/xmpp/xmpp_component.cpp
@@ -101,13 +101,9 @@ void XmppComponent::on_connected()
void XmppComponent::on_connection_close(const std::string& error)
{
if (error.empty())
- {
- log_info("XMPP server closed connection");
- }
+ log_info("XMPP server closed connection");
else
- {
- log_info("XMPP server closed connection: " << error);
- }
+ log_info("XMPP server closed connection: " << error);
}
void XmppComponent::parse_in_buffer(const size_t size)