diff options
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();
|