diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-26 07:49:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-26 07:49:01 +0000 |
commit | 0920e599aa9ad0e6137bb0a23699456df4e9966e (patch) | |
tree | f063b101c2b9f811c1085ac9190b799a7938a36f | |
parent | 67b5f781b96a699e5ca73103084bc936f0d42931 (diff) |
fix for possible crash in Skype
git-svn-id: http://svn.miranda-ng.org/main/trunk@6237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index a5518085e5..3c9cab6546 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -624,7 +624,7 @@ int __cdecl CSkypeProto::UserIsTyping(HANDLE hContact, int type) if (hContact && this->IsOnline() && this->m_iStatus != ID_STATUS_INVISIBLE)
{
ptrW sid(::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID));
- if (::wcsicmp(sid, this->login) != 0)
+ if (sid != NULL && ::wcsicmp(sid, this->login) != 0)
{
SEStringList targets;
targets.append((char *)ptrA(::mir_utf8encodeW(sid)));
|