Fix comparison in GetTrustwords function.
authorDean
Fri, 11 Nov 2016 15:51:31 +0100
changeset 203b398e3da1b99
parent 202 92fcb5658a34
child 204 21b7749b5beb
Fix comparison in GetTrustwords function.
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Fri Nov 11 15:04:19 2016 +0100
     1.2 +++ b/CpEpEngine.cpp	Fri Nov 11 15:51:31 2016 +0100
     1.3 @@ -203,7 +203,7 @@
     1.4  
     1.5      char* _words;
     1.6      size_t _size;
     1.7 -    if (result = S_OK) {
     1.8 +    if (result == S_OK) {
     1.9          auto status = ::get_trustwords(get_session(), _id1, _id2, _lang.c_str(), &_words, &_size, full != 0 /* convert variant bool to C bool */);
    1.10  
    1.11          if (status == PEP_OUT_OF_MEMORY) {