diff options
author | aunsane <aunsane@gmail.com> | 2017-04-25 02:26:25 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-25 02:27:36 +0300 |
commit | 71b5d463456a90d1d0ea58c7ace0aa5e8216eec8 (patch) | |
tree | 725ff7c747d994741a9f3c70938f93e19aeb53fd /plugins/CloudFile/src/Services/google_service.cpp | |
parent | 26092086b62afd9bdef93f4756ae7558ec681e9a (diff) |
CloudFile: initial OneDrive implementation
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.cpp')
-rw-r--r-- | plugins/CloudFile/src/Services/google_service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp index 3c88ffd366..f7ab294135 100644 --- a/plugins/CloudFile/src/Services/google_service.cpp +++ b/plugins/CloudFile/src/Services/google_service.cpp @@ -140,7 +140,7 @@ void CGDriveService::StartUploadFile(char *uploadUri, const char *name) { ptrA token(db_get_sa(NULL, GetModule(), "TokenSecret")); GDriveAPI::StartUploadFileRequest request(token, name); - NETLIBHTTPREQUEST* response = request.Send(hConnection); + NLHR_PTR response(request.Send(hConnection)); if (response == NULL) throw Exception(HttpStatusToError()); |