Fix bitwise check for flag Release 1.0.200
authorThomas
Mon, 20 Aug 2018 11:32:32 +0200
changeset 2919b14d293f6f1
parent 290 52d7d9b2df17
child 292 2c8123bded5a
Fix bitwise check for flag
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Wed Jun 27 08:46:21 2018 +0200
     1.2 +++ b/CpEpEngine.cpp	Mon Aug 20 11:32:32 2018 +0200
     1.3 @@ -1050,7 +1050,7 @@
     1.4  
     1.5      *flags = (pEpDecryptFlags)engineflags;
     1.6  
     1.7 -    if (engineflags && PEP_decrypt_flag_src_modified)
     1.8 +    if (engineflags & PEP_decrypt_flag_src_modified)
     1.9          text_message_from_C(src, _src);
    1.10  
    1.11      if (msg_dst)