diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-05-13 15:21:50 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-05-13 15:21:50 +0000 |
commit | ac60e6cd374568da60bf732a8018f94d48ee9dd7 (patch) | |
tree | e85ce8fe96226a39f3d1432f29c769cd5926047c /plugins/Dropbox/src/api | |
parent | 71846c4e387e27164ffde6b2e8a188b3bc21b2eb (diff) |
Dropbox:
- fixed commands sending
- removed status changing
git-svn-id: http://svn.miranda-ng.org/main/trunk@13571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/api')
-rw-r--r-- | plugins/Dropbox/src/api/operations.h | 6 | ||||
-rw-r--r-- | plugins/Dropbox/src/api/upload.h | 1 |
2 files changed, 2 insertions, 5 deletions
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);
}
};
|