diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-07-06 19:08:21 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-07-06 19:08:21 +0000 |
commit | a46fe1de288c25b360f008d84fd744f608878ce3 (patch) | |
tree | b7c5b629daee6101dd8b8a75de49b9bcc0df64c0 /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 79e4ee10e9ebd6382f819502285685ce21e69ef0 (diff) |
SkypeWeb: fixed search
git-svn-id: http://svn.miranda-ng.org/main/trunk@17070 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index b9c2257093..898bc1f11a 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -85,8 +85,7 @@ void CSkypeProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg) if (response->pData != NULL)
{
JSONNode jRoot = JSONNode::parse(response->pData);
- auto it = m_mpOutMessages.find(hMessage);
- if (it == m_mpOutMessages.end())
+ if (m_mpOutMessages.find(hMessage) == m_mpOutMessages.end())
{
m_mpOutMessages[hMessage] = std::stoull(jRoot["OriginalArrivalTime"].as_string()) / 1000;
}
|