diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-21 20:19:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-21 20:19:54 +0000 |
commit | be54798e554d9b7f200bd84992e50cf80a25a7cf (patch) | |
tree | fa98fdb9143c6ca0983958ad13759905dc972ced /protocols | |
parent | 459e35b9e39540b79b2919fd5b5a9a4615502d62 (diff) |
Facebook: vc2015 compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 2 | ||||
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 88bc191b59..ff11543ce7 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -323,7 +323,7 @@ void parseAttachments(FacebookProto *proto, std::string *message_text, const JSO std::string description = share["description"].as_string(); std::string link = share["uri"].as_string(); - if (link.find("l."FACEBOOK_SERVER_DOMAIN) != std::string::npos) { + if (link.find("l." FACEBOOK_SERVER_DOMAIN) != std::string::npos) { // de-facebook this link link = utils::url::decode(utils::text::source_get_value2(&link, "l.php?u=", "&", true)); } diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 4b72e8e66b..23969b97bc 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -874,7 +874,7 @@ std::string FacebookProto::PrepareUrl(std::string url) { // Transform absolute URL to relative if (isAbsoluteUrl) { // Check and ignore special subdomains - std::string subdomain = utils::text::source_get_value(&url, 2, "://", "."FACEBOOK_SERVER_DOMAIN); + std::string subdomain = utils::text::source_get_value(&url, 2, "://", "." FACEBOOK_SERVER_DOMAIN); if (subdomain == "developers") return url; |