From 71b5d463456a90d1d0ea58c7ace0aa5e8216eec8 Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 25 Apr 2017 02:26:25 +0300 Subject: CloudFile: initial OneDrive implementation --- plugins/CloudFile/src/Services/google_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CloudFile/src/Services/google_service.cpp') 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()); -- cgit v1.2.3