aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2011-09-15 14:08:17 +0200
committerSpp <spp@jorge.gr>2011-09-15 14:12:57 +0200
commitaf05915b9e36497eda8f2f061c29ffee0c8042b6 (patch)
treefa9e603e2a8d90b9842148ee9fa767f475566b67 /src/server/worldserver
parent9006e4e8dc1c2cbf30303dd2d5e34f3d9a2380a9 (diff)
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
Diffstat (limited to 'src/server/worldserver')
-rwxr-xr-xsrc/server/worldserver/CommandLine/CliRunnable.cpp2
-rwxr-xr-xsrc/server/worldserver/Master.cpp4
-rwxr-xr-xsrc/server/worldserver/RemoteAccess/RASocket.cpp2
-rwxr-xr-xsrc/server/worldserver/TCSoap/TCSoap.cpp4
-rwxr-xr-xsrc/server/worldserver/TCSoap/TCSoap.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp
index f5e55ecccb9..3fd47c42dc3 100755
--- a/src/server/worldserver/CommandLine/CliRunnable.cpp
+++ b/src/server/worldserver/CommandLine/CliRunnable.cpp
@@ -43,7 +43,7 @@ char * command_finder(const char* text, int state)
{
static int idx, len;
const char* ret;
- ChatCommand *cmd = ChatHandler::getCommandTable();
+ ChatCommand* cmd = ChatHandler::getCommandTable();
if (!state)
{
diff --git a/src/server/worldserver/Master.cpp b/src/server/worldserver/Master.cpp
index c44ac1c9266..cb3cd1289f7 100755
--- a/src/server/worldserver/Master.cpp
+++ b/src/server/worldserver/Master.cpp
@@ -247,7 +247,7 @@ int Master::Run()
if (sConfig->GetBoolDefault("SOAP.Enabled", false))
{
- TCSoapRunnable *runnable = new TCSoapRunnable();
+ TCSoapRunnable* runnable = new TCSoapRunnable();
runnable->setListenArguments(sConfig->GetStringDefault("SOAP.IP", "127.0.0.1"), sConfig->GetIntDefault("SOAP.Port", 7878));
soap_thread = new ACE_Based::Thread(runnable);
}
@@ -255,7 +255,7 @@ int Master::Run()
///- Start up freeze catcher thread
if (uint32 freeze_delay = sConfig->GetIntDefault("MaxCoreStuckTime", 0))
{
- FreezeDetectorRunnable *fdr = new FreezeDetectorRunnable();
+ FreezeDetectorRunnable* fdr = new FreezeDetectorRunnable();
fdr->SetDelayTime(freeze_delay*1000);
ACE_Based::Thread freeze_thread(fdr);
freeze_thread.setPriority(ACE_Based::Highest);
diff --git a/src/server/worldserver/RemoteAccess/RASocket.cpp b/src/server/worldserver/RemoteAccess/RASocket.cpp
index 994fccbd7ad..500869973d3 100755
--- a/src/server/worldserver/RemoteAccess/RASocket.cpp
+++ b/src/server/worldserver/RemoteAccess/RASocket.cpp
@@ -187,7 +187,7 @@ int RASocket::check_access_level(const std::string& user)
return -1;
}
- Field *fields = result->Fetch();
+ Field* fields = result->Fetch();
if (fields[1].GetUInt32() < iMinLevel)
{
diff --git a/src/server/worldserver/TCSoap/TCSoap.cpp b/src/server/worldserver/TCSoap/TCSoap.cpp
index a7a4048c34b..67c54e7e011 100755
--- a/src/server/worldserver/TCSoap/TCSoap.cpp
+++ b/src/server/worldserver/TCSoap/TCSoap.cpp
@@ -46,7 +46,7 @@ void TCSoapRunnable::run()
sLog->outDebug(LOG_FILTER_NETWORKIO, "TCSoap: accepted connection from IP=%d.%d.%d.%d", (int)(soap.ip>>24)&0xFF, (int)(soap.ip>>16)&0xFF, (int)(soap.ip>>8)&0xFF, (int)soap.ip&0xFF);
struct soap* thread_soap = soap_copy(&soap);// make a safe copy
- ACE_Message_Block *mb = new ACE_Message_Block(sizeof(struct soap*));
+ ACE_Message_Block* mb = new ACE_Message_Block(sizeof(struct soap*));
ACE_OS::memcpy(mb->wr_ptr(), &thread_soap, sizeof(struct soap*));
process_message(mb);
}
@@ -54,7 +54,7 @@ void TCSoapRunnable::run()
soap_done(&soap);
}
-void TCSoapRunnable::process_message(ACE_Message_Block *mb)
+void TCSoapRunnable::process_message(ACE_Message_Block* mb)
{
ACE_TRACE (ACE_TEXT ("SOAPWorkingThread::process_message"));
diff --git a/src/server/worldserver/TCSoap/TCSoap.h b/src/server/worldserver/TCSoap/TCSoap.h
index 863d7597ef8..37ed841086d 100755
--- a/src/server/worldserver/TCSoap/TCSoap.h
+++ b/src/server/worldserver/TCSoap/TCSoap.h
@@ -41,7 +41,7 @@ class TCSoapRunnable: public ACE_Based::Runnable
m_port = port;
}
private:
- void process_message(ACE_Message_Block *mb);
+ void process_message(ACE_Message_Block* mb);
std::string m_host;
uint16 m_port;