diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 18:26:49 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 18:26:49 +0000 |
commit | e372b5c98c28088a666e8f8050c0ec57e7b326de (patch) | |
tree | 5556e072c2b649f598c51404b184880f928af0f6 /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 9cecda91ac7e563b14fdba9d9cd5feea3faccf69 (diff) |
SkypeWeb: Fixed some bugs from coverity
git-svn-id: http://svn.miranda-ng.org/main/trunk@12751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 183b390d52..15b9f1501e 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -147,7 +147,7 @@ void CSkypeProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg) HANDLE hMessage = (HANDLE)param->hMessage;
delete param;
- if (response->resultCode != 200 && response->resultCode != 201)
+ if (response == NULL || (response->resultCode != 200 && response->resultCode != 201))
{
CMStringA error = "Unknown error";
if (response)
|