diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Quotes/HTTPSession.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/HTTPSession.cpp')
-rw-r--r-- | plugins/Quotes/HTTPSession.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Quotes/HTTPSession.cpp b/plugins/Quotes/HTTPSession.cpp index 837be0de0a..aa66948ae9 100644 --- a/plugins/Quotes/HTTPSession.cpp +++ b/plugins/Quotes/HTTPSession.cpp @@ -6,8 +6,8 @@ class CHTTPSession::CImpl
{
public:
- CImpl(){}
- virtual ~CImpl(){}
+ CImpl() {}
+ virtual ~CImpl() {}
virtual bool OpenURL(const tstring& rsURL) = 0;
virtual bool ReadResponce(tstring& rsResponce)const = 0;
@@ -112,7 +112,7 @@ namespace class CImplMI : public CHTTPSession::CImpl
{
public:
- CImplMI(){}
+ CImplMI() {}
static bool Init()
{
@@ -182,7 +182,7 @@ namespace if(pReply)
{
- if((200 == pReply->resultCode) && (pReply->dataLength > 0))
+ if ((200 == pReply->resultCode) && (pReply->dataLength > 0))
{
TBuffer apBuffer;
apBuffer.insert(apBuffer.begin(),pReply->pData,pReply->pData+pReply->dataLength);
@@ -190,7 +190,7 @@ namespace char* pResult = &*(apBuffer.begin());
int nIndex = find_header(pReply,"Content-Type");
- if((-1 != nIndex) && (NULL != strstr(_strlwr(pReply->headers[nIndex].szValue),"utf-8")))
+ if ((-1 != nIndex) && (NULL != strstr(_strlwr(pReply->headers[nIndex].szValue),"utf-8")))
{
TCHAR* p = mir_utf8decodeT(pResult);
rsResponce = p;
|