diff options
author | aunsane <aunsane@gmail.com> | 2017-05-09 23:15:55 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-05-09 23:15:55 +0300 |
commit | 3742d283a14dae3950c77cac44b37603998a6551 (patch) | |
tree | 601ef50796c7d9fc345719aff453e7ff3afd2550 /plugins/CloudFile | |
parent | ae52dee4a7b2e108dc260d52ce0e0bde78474ac9 (diff) |
CloudFile: one more fix
Diffstat (limited to 'plugins/CloudFile')
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 520cdf1378..04d4694143 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -105,7 +105,7 @@ void CDropboxService::HandleJsonError(JSONNode &node) } } -char* CDropboxService::UploadFile(const char *data, size_t size, char *path) +void CDropboxService::UploadFile(const char *data, size_t size, char *path) { ptrA token(db_get_sa(NULL, GetModule(), "TokenSecret")); ptrA encodedPath(mir_utf8encode(path)); @@ -115,8 +115,6 @@ char* CDropboxService::UploadFile(const char *data, size_t size, char *path) JSONNode root = GetJsonResponse(response); JSONNode node = root.at("path_lower"); mir_strcpy(path, node.as_string().c_str()); - - return path; } void CDropboxService::CreateUploadSession(const char *chunk, size_t chunkSize, char *sessionId) |