diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-15 15:39:25 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-15 15:39:25 +0200 |
commit | 11a31db2d5bcc158bb8902e74f192dbc82827f53 (patch) | |
tree | 045aa047a7a63c80c501d9f8be30e3cb2ac95ce8 /src/xmpp/xmpp_component.hpp | |
parent | 4582f1079767f53bb6bd9b96c358ea3c641aaa96 (diff) | |
download | biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.gz biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.bz2 biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.xz biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.zip |
Send the reason of the connection close to the user
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 42cdb8a..daadbec 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -38,7 +38,7 @@ public: void on_connection_failed(const std::string& reason) override final; void on_connected() override final; - void on_connection_close() override final; + void on_connection_close(const std::string& error) override final; void parse_in_buffer(const size_t size) override final; /** |