diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-13 11:53:33 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-16 11:05:57 +0100 |
commit | b3db0e6ee14315d20ca91eff91e348e18dd119e6 (patch) | |
tree | afe3cea009a51309f034ddb0ca14a069262f71c4 /src/message.cpp | |
parent | 48cb5f925d3bf21c51818dbe46c864a6975ccc75 (diff) |
translate logging.cpp to C
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp index 23ec823..ff03903 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -14,7 +14,7 @@ */ #include "olm/message.hh" -#include "olm/logging.hh" +#include "olm/logging.h" #include "olm/memory.hh" namespace { @@ -239,7 +239,7 @@ void olm::decode_message( } unknown = pos; } - olm::logf(olm::LOG_TRACE, LOG_CATEGORY, + olm_logf(OLM_LOG_TRACE, LOG_CATEGORY, "Decoded message ver=%i ratchet_key=%s chain_idx=%i ciphertext=%s", reader.version, olm::bytes_to_string(reader.ratchet_key, reader.ratchet_key_length).c_str(), @@ -335,7 +335,7 @@ void olm::decode_one_time_key_message( unknown = pos; } - olm::logf(olm::LOG_TRACE, LOG_CATEGORY, + olm_logf(OLM_LOG_TRACE, LOG_CATEGORY, "Decoded pre-key message ver=%i one_time_key[Eb]=%s " "base_key[Ea]=%s identity_key[Ia]=%s message=%s", reader.version, |