diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-02-19 15:47:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-02-19 15:47:46 +0000 |
commit | 92d98c110e4879ce6ef1056e92ae71728f29f564 (patch) | |
tree | b5fd22b154eabd195588d1de88b88796873a9db1 /plugins/Dropbox/src/dropbox.cpp | |
parent | 36df84a13018c6c26e7cd1bb8e093dc54393aed7 (diff) |
Dropbox: fixed access request
git-svn-id: http://svn.miranda-ng.org/main/trunk@8180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index 35f9a7b832..fa2d5cbc86 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -30,10 +30,9 @@ bool CDropbox::HasAccessToken() void CDropbox::RequestAcceessToken()
{
- ShellExecuteA(NULL, "open", DROPBOX_WWW_URL "/" DROPBOX_API_VER "/oauth2/authorize?response_type=code&client_id=" DROPBOX_API_KEY, NULL, NULL, SW_SHOWDEFAULT);
+ ShellExecuteA(NULL, "open", DROPBOX_WWW_URL DROPBOX_API_VER "/oauth2/authorize?response_type=code&client_id=" DROPBOX_API_KEY, NULL, NULL, SW_SHOWDEFAULT);
char request_token[128] = { 0 };
- //request_token[0] = 0;
if (DialogBoxParam(
g_hInstance,
@@ -110,7 +109,6 @@ void CDropbox::RequestAcceessToken() void CDropbox::DestroyAcceessToken()
{
-
HttpRequest *request = new HttpRequest(hNetlibUser, REQUEST_POST, DROPBOX_API_URL "/disable_access_token");
//request->SendAsync(&CDropboxProto::AsyncFunc);
NETLIBHTTPREQUEST *response = request->Send();
|