summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_commands.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-06-07 20:11:48 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-06-07 20:11:48 +0000
commit284caa432d31130a2714ce6acb49826d55b8789d (patch)
tree065c08408d210b915c49ebaa42da6afb9af0414b /plugins/Dropbox/src/dropbox_commands.cpp
parent8e0c637454c5797a5a9ce02968480a1847676f29 (diff)
Dropbox switched to NLHR_PTR
git-svn-id: http://svn.miranda-ng.org/main/trunk@14059 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_commands.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_commands.cpp6
1 files changed, 3 insertions, 3 deletions
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)
{