diff options
Diffstat (limited to 'protocols/Twitter/src/http.cpp')
-rw-r--r-- | protocols/Twitter/src/http.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/Twitter/src/http.cpp b/protocols/Twitter/src/http.cpp index 888afdfa84..71aa265954 100644 --- a/protocols/Twitter/src/http.cpp +++ b/protocols/Twitter/src/http.cpp @@ -39,9 +39,6 @@ void CTwitterProto::Execute(AsyncHttpRequest *pReq) } else pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded"); pReq->AddHeader("Cache-Control", "no-cache"); - - pReq->dataLength = (int)pReq->m_szParam.GetLength(); - pReq->pData = pReq->m_szParam.Detach(); } else { if (pReq->requestType == REQUEST_PATCH) @@ -60,7 +57,6 @@ void CTwitterProto::Execute(AsyncHttpRequest *pReq) // auth = OAuthWebRequestSubmit(pReq->m_szUrl, "POST", (bIsJson) ? "" : pReq->pData); // pReq->AddHeader("Authorization", auth); - pReq->szUrl = pReq->m_szUrl.GetBuffer(); pReq->flags = NLHRF_HTTP11 | NLHRF_PERSISTENT | NLHRF_REDIRECT; pReq->nlc = m_hConnHttp; |