summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-02-14 16:30:24 +0000
committerRobert Pösel <robyer@seznam.cz>2015-02-14 16:30:24 +0000
commit638fdb5d710a10ef611f518303823c5b005ce3e4 (patch)
tree522de2a73b2c622e99711759e8df760ce2bab6c7 /protocols/FacebookRM/src/utils.cpp
parentf4f4eccf331d50eaf3c1c29cfd3e74308901137a (diff)
Facebook: Fix (hopefully) for not receiving messages sometimes; some tiny other fixes
This ancient "bug" was here since beginning of Facebook RM. But it's not a bug, it just Facebook return wrong sequence number which then causes this. git-svn-id: http://svn.miranda-ng.org/main/trunk@12103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.cpp')
-rw-r--r--protocols/FacebookRM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp
index 67f96f060b..8c388f738c 100644
--- a/protocols/FacebookRM/src/utils.cpp
+++ b/protocols/FacebookRM/src/utils.cpp
@@ -56,7 +56,7 @@ std::string utils::time::mili_timestamp()
time_t utils::time::from_string(const std::string &data)
{
- long long timestamp = _atoi64(data.c_str());
+ long long timestamp = _strtoi64(data.c_str(), NULL, 10);
// If it is milli timestamp
if (timestamp > 100000000000)