From ac60e6cd374568da60bf732a8018f94d48ee9dd7 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 13 May 2015 15:21:50 +0000 Subject: Dropbox: - fixed commands sending - removed status changing git-svn-id: http://svn.miranda-ng.org/main/trunk@13571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/api/operations.h | 6 ++---- plugins/Dropbox/src/api/upload.h | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/Dropbox/src/api') diff --git a/plugins/Dropbox/src/api/operations.h b/plugins/Dropbox/src/api/operations.h index 1ff7d50230..56578515b3 100644 --- a/plugins/Dropbox/src/api/operations.h +++ b/plugins/Dropbox/src/api/operations.h @@ -26,8 +26,7 @@ public: CMStringA data(CMStringDataFormat::FORMAT, "root=auto&path=%s", path); data.Replace('\\', '/'); - pData = data.GetBuffer(); - dataLength = data.GetLength(); + SetData(data.GetBuffer(), data.GetLength()); } }; @@ -42,8 +41,7 @@ public: CMStringA data(CMStringDataFormat::FORMAT, "root=auto&path=%s", path); data.Replace('\\', '/'); - pData = data.GetBuffer(); - dataLength = data.GetLength(); + SetData(data.GetBuffer(), data.GetLength()); } }; diff --git a/plugins/Dropbox/src/api/upload.h b/plugins/Dropbox/src/api/upload.h index 323bf907a5..5c2e41c792 100644 --- a/plugins/Dropbox/src/api/upload.h +++ b/plugins/Dropbox/src/api/upload.h @@ -39,7 +39,6 @@ public: { AddBearerAuthHeader(token); AddHeader("Content-Type", "application/x-www-form-urlencoded"); - AddUrlParameter("upload_id=%s", uploadId); } }; -- cgit v1.2.3