From 638fdb5d710a10ef611f518303823c5b005ce3e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 14 Feb 2015 16:30:24 +0000 Subject: 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 --- protocols/FacebookRM/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/utils.cpp') 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) -- cgit v1.2.3