From be54798e554d9b7f200bd84992e50cf80a25a7cf Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 21 Jul 2015 20:19:54 +0000 Subject: Facebook: vc2015 compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@14612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 2 +- protocols/FacebookRM/src/proto.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src') 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; -- cgit v1.2.3