diff options
Diffstat (limited to 'protocols/JabberG/jabber_std.cpp')
-rw-r--r-- | protocols/JabberG/jabber_std.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_std.cpp b/protocols/JabberG/jabber_std.cpp index abf40979a9..a480b82924 100644 --- a/protocols/JabberG/jabber_std.cpp +++ b/protocols/JabberG/jabber_std.cpp @@ -240,13 +240,8 @@ TCHAR* CJabberProto::JGetStringCrypt( HANDLE hContact, char* valueName ) return NULL;
sttCryptString(dbv.pszVal);
-
-#ifdef UNICODE
WCHAR *res = mir_utf8decodeW(dbv.pszVal);
-#else
- mir_utf8decode(dbv.pszVal, NULL);
- char *res = mir_strdup(dbv.pszVal);
-#endif
+
DBFreeVariant(&dbv);
return res;
|