aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-17 20:17:41 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit5df8c5140292520bafe92efa94935a776d63d108 (patch)
tree7ea4faf4d7169411383eb5783dfbfd5fe2032dad /backends/cloud
parent03217cd5c3de3c17739a246f5967dfd4a14eb120 (diff)
downloadscummvm-rg350-5df8c5140292520bafe92efa94935a776d63d108.tar.gz
scummvm-rg350-5df8c5140292520bafe92efa94935a776d63d108.tar.bz2
scummvm-rg350-5df8c5140292520bafe92efa94935a776d63d108.zip
CLOUD: Fix CurlJsonRequest
It's using MemoryWriteStreamDynamic instead of String and it prepares raw byte contents of this stream for JSON::parse().
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/dropbox/dropboxstorage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.cpp b/backends/cloud/dropbox/dropboxstorage.cpp
index 2db915de38..729283bcfa 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -56,6 +56,7 @@ void DropboxStorage::listDirectory(Common::String path) {
void DropboxStorage::syncSaves() {
//not so Dropbox, just testing JSON requesting & parsing:
addRequest(new Networking::CurlJsonRequest(curlJsonCallback, "https://api.vk.com/method/users.get?v=5.50&user_ids=205387401"));
+ addRequest(new Networking::CurlJsonRequest(curlJsonCallback, "https://api.vk.com/method/users.get?v=5.50&user_ids=28870501"));
}
} //end of namespace Dropbox