summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_std.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-11 23:02:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-11 23:02:48 +0000
commit3e1583072445a97fbd9dd223d8c8b702013ae1d6 (patch)
tree9beadf45e5c96812d0f9a2a10c94a6cc256f94d3 /protocols/JabberG/src/jabber_std.cpp
parent27c63813af1433d827335b5d1d34c2b70eddeb6b (diff)
minor fixes, code cleaning etc
git-svn-id: http://svn.miranda-ng.org/main/trunk@12773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_std.cpp')
-rw-r--r--protocols/JabberG/src/jabber_std.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_std.cpp b/protocols/JabberG/src/jabber_std.cpp
index 284730a048..ecda372e98 100644
--- a/protocols/JabberG/src/jabber_std.cpp
+++ b/protocols/JabberG/src/jabber_std.cpp
@@ -78,7 +78,8 @@ void CJabberProto::ConvertPasswords()
break;
mir_snprintf(varName, SIZEOF(varName), "rcMuc_%d", i);
- if ((passw = JSetStringCrypt(m_szModuleName, NULL, varName)) != NULL) {
+ ptrT passw(JSetStringCrypt(m_szModuleName, NULL, varName));
+ if (passw != NULL) {
delSetting(varName);
mir_snprintf(varName, SIZEOF(varName), "password_rcMuc_%d", i);