diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 20:11:48 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 20:11:48 +0000 |
commit | 284caa432d31130a2714ce6acb49826d55b8789d (patch) | |
tree | 065c08408d210b915c49ebaa42da6afb9af0414b /plugins/Dropbox/src/dropbox.cpp | |
parent | 8e0c637454c5797a5a9ce02968480a1847676f29 (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.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index 75a8f6389e..50be4b39cd 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -66,7 +66,7 @@ void CDropbox::RequestAccountInfo() ptrA token(db_get_sa(NULL, MODULE, "TokenSecret"));
GetAccountInfoRequest request(token);
- NetlibPtr response(request.Send(hNetlibConnection));
+ NLHR_PTR response(request.Send(hNetlibConnection));
HandleHttpResponseError(response);
JSONNode root = JSONNode::parse(response->pData);
@@ -121,7 +121,7 @@ void CDropbox::RequestAccountInfo() void CDropbox::DestroyAccessToken()
{
DisableAccessTokenRequest request;
- NetlibPtr response(request.Send(hNetlibConnection));
+ NLHR_PTR response(request.Send(hNetlibConnection));
db_unset(NULL, MODULE, "TokenSecret");
MCONTACT hContact = CDropbox::GetDefaultContact();
@@ -147,7 +147,7 @@ UINT CDropbox::RequestAccessTokenAsync(void *owner, void *param) GetDlgItemTextA(hwndDlg, IDC_REQUEST_CODE, requestToken, SIZEOF(requestToken));
GetAccessTokenRequest request(requestToken);
- NetlibPtr response(request.Send(instance->hNetlibConnection));
+ NLHR_PTR response(request.Send(instance->hNetlibConnection));
if (response == NULL)
{
|