summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/api/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/api/account.h')
-rw-r--r--plugins/Dropbox/src/api/account.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/api/account.h b/plugins/Dropbox/src/api/account.h
index 4db79622d2..9c8bf20e7e 100644
--- a/plugins/Dropbox/src/api/account.h
+++ b/plugins/Dropbox/src/api/account.h
@@ -11,8 +11,7 @@ public:
AddHeader("Content-Type", "application/x-www-form-urlencoded");
CMStringA data(CMStringDataFormat::FORMAT, "grant_type=authorization_code&code=%s", requestToken);
- pData = data.GetBuffer();
- dataLength = data.GetLength();
+ SetData(data.GetBuffer(), data.GetLength());
}
};