diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-20 08:15:27 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-20 08:15:27 +0000 |
commit | 8429513ae275d2e10d9c991b810720830a127e06 (patch) | |
tree | e01ba371601d58c7c8531e58527f3f8a7b0ab3dd /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | a76f31eb06923058dedc293368e605a66cc71624 (diff) |
SkypeWeb: Crash fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12956 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 ed0520465e..33d0944ad7 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -276,7 +276,7 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) HXML xmlNode = xi.getChildByPath(xml, _T("part"), 0);
HXML duration = xmlNode == NULL ? NULL : xi.getChildByPath(xmlNode, _T("duration"), 0);
- iDuration = xmlNode != NULL ? atoi(mir_t2a(xi.getText(xmlNode))) : NULL;
+ iDuration = duration != NULL ? atoi(mir_t2a(xi.getText(duration))) : NULL;
xi.destroyNode(xml);
}
|