diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 17:42:39 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 17:42:39 +0000 |
commit | f942a0a8f658c92c2597272d0af5e8d364426a3b (patch) | |
tree | bca3489c893e353d3fad2cafa335f6eaf583d918 /plugins/Dropbox/src/http_request.h | |
parent | d5f98458e06b9aee5522dc9475b5676e6fd14317 (diff) |
Dropbox: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11419 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/http_request.h')
-rw-r--r-- | plugins/Dropbox/src/http_request.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h index 30fce9d7b6..162af8c838 100644 --- a/plugins/Dropbox/src/http_request.h +++ b/plugins/Dropbox/src/http_request.h @@ -31,7 +31,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);
@@ -43,7 +43,7 @@ public: void AddHeader(LPCSTR szName, LPCSTR szValue)
{
- headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount+1));
+ headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount + 1));
headers[headersCount].szName = mir_strdup(szName);
headers[headersCount].szValue = mir_strdup(szValue);
headersCount++;
@@ -70,7 +70,7 @@ public: mir_free(ePair);
- headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount+1));
+ headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount + 1));
headers[headersCount].szName = mir_strdup("Authorization");
headers[headersCount].szValue = mir_strdup(value);
headersCount++;
@@ -85,7 +85,7 @@ public: "Bearer %s",
szValue);
- headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount+1));
+ headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount + 1));
headers[headersCount].szName = mir_strdup("Authorization");
headers[headersCount].szValue = mir_strdup(value);
headersCount++;
@@ -93,18 +93,18 @@ public: /*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);
+ 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);
+ if (m_szUrl.Find('?') == -1)
+ m_szUrl.AppendFormat("?%s=%i", szName, value);
+ else
+ m_szUrl.AppendFormat("&%s=%i", szName, value);
}*/
NETLIBHTTPREQUEST *Send()
|