Browse Source

Fixed white-space issues again which got clobbered in merge, same as rev. 7c07e68b6f56 (and more).

pull/1/head Release_2.1.0-RC29
Jorg Knobloch 5 years ago
parent
commit
571e249c32
  1. 23
      message_cache.cc

23
message_cache.cc

@ -483,12 +483,14 @@ namespace pEp {
::message *_msg;
std::string _id = cacheID(src);
{
std::lock_guard<std::mutex> l(_mtx); _msg =
message_cache._cache.at(_id).src; swapContent(src, _msg);
std::lock_guard<std::mutex> l(_mtx);
_msg = message_cache._cache.at(_id).src;
swapContent(src, _msg);
}
::message *_dst = nullptr; PEP_STATUS status =
::encrypt_message(session, src, extra, &_dst, enc_format, flags);
::message *_dst = nullptr;
PEP_STATUS status = ::encrypt_message(session, src, extra, &_dst,
enc_format, flags);
*dst = empty_message_copy(_dst, _id);
{
@ -514,14 +516,15 @@ namespace pEp {
::message *_msg;
std::string _id = cacheID(src);
{
std::lock_guard<std::mutex> l(_mtx); _msg =
message_cache._cache.at(_id).src; swapContent(src,
_msg);
std::lock_guard<std::mutex> l(_mtx);
_msg = message_cache._cache.at(_id).src;
swapContent(src, _msg);
}
::message *_dst = nullptr; PEP_STATUS status =
::encrypt_message_for_self(session, target_id, src, extra, &_dst,
enc_format, flags); *dst = empty_message_copy(_dst, _id);
::message *_dst = nullptr;
PEP_STATUS status = ::encrypt_message_for_self(session, target_id, src,
extra, &_dst, enc_format, flags);
*dst = empty_message_copy(_dst, _id);
{
std::lock_guard<std::mutex> l(_mtx);

Loading…
Cancel
Save