summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-03 05:20:26 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-03 05:20:26 +0000
commit2cb74cbf59d7a9a1de2efd9076d4c4d77f5ea47d (patch)
treeae0f0db389073cd7d9522910bb58885e4b69c792 /protocols
parent7578bfa80684cc791d2c5c3f0a5e3f461cbb767d (diff)
SkypeWeb: Crashfix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13978 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp
index af599ae7d6..818bb8dd1a 100644
--- a/protocols/SkypeWeb/src/skype_avatars.cpp
+++ b/protocols/SkypeWeb/src/skype_avatars.cpp
@@ -54,7 +54,7 @@ void CSkypeProto::ReloadAvatarInfo(MCONTACT hContact)
void CSkypeProto::OnReceiveAvatar(const NETLIBHTTPREQUEST *response, void *arg)
{
- if (response == NULL)
+ if (response == NULL || response->pData == NULL)
return;
MCONTACT hContact = (MCONTACT)arg;
if (response->resultCode != 200)