diff options
author | aunsane <aunsane@gmail.com> | 2017-05-09 23:04:10 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-05-09 23:04:31 +0300 |
commit | ae52dee4a7b2e108dc260d52ce0e0bde78474ac9 (patch) | |
tree | 4f4686a83ff901e136765f321a8550085e03ef5c /plugins/CloudFile/src/Services/dropbox_service.h | |
parent | af8a9e244150d0fe2e584a23ed9a5432c58f8e56 (diff) |
CloudFile: fix upload
Diffstat (limited to 'plugins/CloudFile/src/Services/dropbox_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.h b/plugins/CloudFile/src/Services/dropbox_service.h index c498b52178..90dc11d259 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.h +++ b/plugins/CloudFile/src/Services/dropbox_service.h @@ -9,10 +9,10 @@ private: void HandleJsonError(JSONNode &node); - char* UploadFile(const char *data, size_t size, char *path); + void UploadFile(const char *data, size_t size, char *path); void CreateUploadSession(const char *chunk, size_t chunkSize, char *sessionId); void UploadFileChunk(const char *chunk, size_t chunkSize, const char *sessionId, size_t offset); - char* CommitUploadSession(const char *chunk, size_t chunkSize, const char *sessionId, size_t offset, char *path); + void CommitUploadSession(const char *chunk, size_t chunkSize, const char *sessionId, size_t offset, char *path); void CreateFolder(const char *path); void CreateSharedLink(const char *path, char *url); |