From 284caa432d31130a2714ce6acb49826d55b8789d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 7 Jun 2015 20:11:48 +0000 Subject: Dropbox switched to NLHR_PTR git-svn-id: http://svn.miranda-ng.org/main/trunk@14059 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox_commands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Dropbox/src/dropbox_commands.cpp') diff --git a/plugins/Dropbox/src/dropbox_commands.cpp b/plugins/Dropbox/src/dropbox_commands.cpp index dc4fad8d76..83852b85aa 100644 --- a/plugins/Dropbox/src/dropbox_commands.cpp +++ b/plugins/Dropbox/src/dropbox_commands.cpp @@ -27,7 +27,7 @@ void CDropbox::CommandContent(void *arg) ptrA token(db_get_sa(NULL, MODULE, "TokenSecret")); ptrA encodedPath(mir_utf8encode(path)); GetMetadataRequest request(token, encodedPath); - NetlibPtr response(request.Send(param->instance->hNetlibConnection)); + NLHR_PTR response(request.Send(param->instance->hNetlibConnection)); if (response == NULL || response->resultCode != HTTP_STATUS_OK) { @@ -86,7 +86,7 @@ void CDropbox::CommandShare(void *arg) ptrA encodedPath(mir_utf8encode(path)); bool useShortUrl = db_get_b(NULL, MODULE, "UseSortLinks", 1) > 0; ShareRequest request(token, encodedPath, useShortUrl); - NetlibPtr response(request.Send(param->instance->hNetlibConnection)); + NLHR_PTR response(request.Send(param->instance->hNetlibConnection)); if (response == NULL || response->resultCode != HTTP_STATUS_OK) { @@ -122,7 +122,7 @@ void CDropbox::CommandDelete(void *arg) ptrA token(db_get_sa(NULL, MODULE, "TokenSecret")); ptrA encodedPath(mir_utf8encode(path)); DeleteRequest request(token, encodedPath); - NetlibPtr response(request.Send(param->instance->hNetlibConnection)); + NLHR_PTR response(request.Send(param->instance->hNetlibConnection)); if (response == NULL || response->resultCode != HTTP_STATUS_OK) { -- cgit v1.2.3