diff options
author | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
---|---|---|
committer | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
commit | a9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch) | |
tree | 2dab453d94d5e003379a6cc895eceb84c80e23ec /src/apps/mplayerc/WebServerSocket.cpp | |
parent | aafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff) |
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren
http://astyle.sourceforge.net/
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/WebServerSocket.cpp')
-rw-r--r-- | src/apps/mplayerc/WebServerSocket.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/apps/mplayerc/WebServerSocket.cpp b/src/apps/mplayerc/WebServerSocket.cpp index aa8822055..c9531d58a 100644 --- a/src/apps/mplayerc/WebServerSocket.cpp +++ b/src/apps/mplayerc/WebServerSocket.cpp @@ -25,11 +25,11 @@ #include "WebServer.h"
#include "WebServerSocket.h"
-CWebServerSocket::CWebServerSocket(CWebServer* pWebServer, int port)
- : m_pWebServer(pWebServer)
+CWebServerSocket::CWebServerSocket(CWebServer* pWebServer, int port)
+ : m_pWebServer(pWebServer)
{
- Create(port);
- Listen();
+ Create(port);
+ Listen();
}
CWebServerSocket::~CWebServerSocket()
@@ -38,8 +38,8 @@ CWebServerSocket::~CWebServerSocket() void CWebServerSocket::OnAccept(int nErrorCode)
{
- if(nErrorCode == 0 && m_pWebServer)
- m_pWebServer->OnAccept(this);
+ if(nErrorCode == 0 && m_pWebServer)
+ m_pWebServer->OnAccept(this);
- __super::OnAccept(nErrorCode);
+ __super::OnAccept(nErrorCode);
}
|