summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/http_request.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-11 17:13:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-11 17:13:29 +0000
commit9418930c2d211feca1ddeaafa160c3d8ca9a581a (patch)
tree827695e66cc8403f295c56f68fd39c07b38f9543 /plugins/Dropbox/src/http_request.h
parente8ab90ab839ce55a399280f1920e1afd0fb28424 (diff)
- protocol icon is used in all menus & buttons;
- code formatting git-svn-id: http://svn.miranda-ng.org/main/trunk@13551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/http_request.h')
-rw-r--r--plugins/Dropbox/src/http_request.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h
index 7332975291..108b244c6f 100644
--- a/plugins/Dropbox/src/http_request.h
+++ b/plugins/Dropbox/src/http_request.h
@@ -29,8 +29,7 @@ public:
~HttpRequest()
{
- for (int i = 0; i < headersCount; i++)
- {
+ for (int i = 0; i < headersCount; i++) {
mir_free(headers[i].szName);
mir_free(headers[i].szValue);
}
@@ -89,27 +88,9 @@ public:
headersCount++;
}
- /*void AddParameter(LPCSTR szName, LPCSTR szValue)
- {
- if (m_szUrl.Find('?') == -1)
- m_szUrl.AppendFormat("?%s=%s", szName, szValue);
- else
- m_szUrl.AppendFormat("&%s=%s", szName, szValue);
- }
-
- void AddParameter(LPCSTR szName, int value)
- {
- if (m_szUrl.Find('?') == -1)
- m_szUrl.AppendFormat("?%s=%i", szName, value);
- else
- m_szUrl.AppendFormat("&%s=%i", szName, value);
- }*/
-
NETLIBHTTPREQUEST *Send()
{
szUrl = m_szUrl.GetBuffer();
- /*CMStringA message; message.AppendFormat("Send request to %s", szUrl);
- CallService(MS_NETLIB_LOG, (WPARAM)m_hNetlibUser, (LPARAM)message.GetBuffer());*/
return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)m_hNetlibUser, (LPARAM)this);
}