summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/google_service.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-04-25 02:26:25 +0300
committeraunsane <aunsane@gmail.com>2017-04-25 02:27:36 +0300
commit71b5d463456a90d1d0ea58c7ace0aa5e8216eec8 (patch)
tree725ff7c747d994741a9f3c70938f93e19aeb53fd /plugins/CloudFile/src/Services/google_service.cpp
parent26092086b62afd9bdef93f4756ae7558ec681e9a (diff)
CloudFile: initial OneDrive implementation
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.cpp')
-rw-r--r--plugins/CloudFile/src/Services/google_service.cpp2
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());