diff options
author | louiz’ <louiz@louiz.org> | 2017-02-27 18:01:20 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-02-27 18:01:20 +0100 |
commit | d81cbc4a33ee2c28628ccb632af9ae1b27e84d03 (patch) | |
tree | e301669f22080be2241e082af34c6d8c8979f5ec /louloulibs/xmpp/xmpp_component.cpp | |
parent | 9f978cda943619c95a41e5da9047c3cc0dd31555 (diff) | |
download | biboumi-d81cbc4a33ee2c28628ccb632af9ae1b27e84d03.tar.gz biboumi-d81cbc4a33ee2c28628ccb632af9ae1b27e84d03.tar.bz2 biboumi-d81cbc4a33ee2c28628ccb632af9ae1b27e84d03.tar.xz biboumi-d81cbc4a33ee2c28628ccb632af9ae1b27e84d03.zip |
Use uname() instead of CMAKE_SYSTEM
fix #3235
Diffstat (limited to 'louloulibs/xmpp/xmpp_component.cpp')
-rw-r--r-- | louloulibs/xmpp/xmpp_component.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/louloulibs/xmpp/xmpp_component.cpp b/louloulibs/xmpp/xmpp_component.cpp index e1b6131..e40b1e4 100644 --- a/louloulibs/xmpp/xmpp_component.cpp +++ b/louloulibs/xmpp/xmpp_component.cpp @@ -5,6 +5,7 @@ #include <xmpp/xmpp_component.hpp> #include <config/config.hpp> +#include <utils/system.hpp> #include <utils/time.hpp> #include <xmpp/auth.hpp> #include <xmpp/jid.hpp> @@ -585,7 +586,7 @@ void XmppComponent::send_version(const std::string& id, const std::string& jid_t } { XmlSubNode os(query, "os"); - os.set_inner(SYSTEM_NAME); + os.set_inner(utils::get_system_name()); } } else |