diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-17 15:06:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-17 15:06:11 +0000 |
commit | 82ae452fff08430d514f762f49e78fec90f88625 (patch) | |
tree | 184c31c029a364eec13b58d060d20ba85b2a20bc /plugins/SecureIM/src/crypt_check.cpp | |
parent | 15267ea2d489606fb4b99d011bc3ea7c2a644a9f (diff) |
- rest of memory leaks
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@4078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/crypt_check.cpp')
-rw-r--r-- | plugins/SecureIM/src/crypt_check.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp index b1bb9512ce..a8d3ebf2a5 100644 --- a/plugins/SecureIM/src/crypt_check.cpp +++ b/plugins/SecureIM/src/crypt_check.cpp @@ -38,12 +38,12 @@ BYTE isContactSecured(HANDLE hContact) { if (cpp_keyx(clist[j].cntx)!=0) r|=SECURED;
break;
case MODE_PGP:
- DBGetContactSetting(hContact,szModuleName,"pgp",&dbv);
+ DBGetContactSetting(hContact,MODULENAME,"pgp",&dbv);
if ( dbv.type!=0 ) r|=SECURED;
DBFreeVariant(&dbv);
break;
case MODE_GPG:
- DBGetContactSetting(hContact,szModuleName,"gpg",&dbv);
+ DBGetContactSetting(hContact,MODULENAME,"gpg",&dbv);
if ( dbv.type!=0 ) r|=SECURED;
DBFreeVariant(&dbv);
break;
@@ -157,7 +157,7 @@ BOOL isContactPGP(HANDLE hContact) { if ( !clist[j].proto->inspecting ) break;
if ( clist[j].mode!=MODE_PGP ) break;
DBVARIANT dbv;
- DBGetContactSetting(hContact,szModuleName,"pgp",&dbv);
+ DBGetContactSetting(hContact,MODULENAME,"pgp",&dbv);
BOOL r=(dbv.type!=0);
DBFreeVariant(&dbv);
return r;
@@ -176,7 +176,7 @@ BOOL isContactGPG(HANDLE hContact) { if ( !clist[j].proto->inspecting ) break;
if ( clist[j].mode!=MODE_GPG ) break;
DBVARIANT dbv;
- DBGetContactSetting(hContact,szModuleName,"gpg",&dbv);
+ DBGetContactSetting(hContact,MODULENAME,"gpg",&dbv);
BOOL r=(dbv.type!=0);
DBFreeVariant(&dbv);
return r;
|