From 9418930c2d211feca1ddeaafa160c3d8ca9a581a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 May 2015 17:13:29 +0000 Subject: - 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 --- plugins/Dropbox/src/http_request.h | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'plugins/Dropbox/src/http_request.h') 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); } -- cgit v1.2.3