Renaming variable with typo

parent 3fb0bcd0
......@@ -112,7 +112,7 @@ int main( int argc, char* argv[] )
// Arguments
bool bVersionInfoRequest = false;
bool bRemoveControlMode = false;
bool bRemoteControlMode = false;
std::string sServerAddress, sVACoreConfigPath;
if( argc == 1 )
......@@ -140,7 +140,7 @@ int main( int argc, char* argv[] )
if( argc >= 3 )
sVACoreConfigPath = argv[ 2 ];
if( argc >= 4 )
bRemoveControlMode = true;
bRemoteControlMode = true;
}
......@@ -196,7 +196,7 @@ int main( int argc, char* argv[] )
pCore->Initialize();
if( bRemoveControlMode )
if( bRemoteControlMode )
{
pServerCoreEventHandler = new CServerCoreEventHandler();
pCore->AttachEventHandler( pServerCoreEventHandler );
......@@ -225,7 +225,7 @@ int main( int argc, char* argv[] )
cout << endl << "[ VAServer ] Core version: " << ver.ToString() << endl;
cout << "[ VAServer ] Successfully started and listening on " << sServer << ":" << iPort << endl << endl;
if( bRemoveControlMode )
if( bRemoteControlMode )
{
cout << "[ VAServer ] Enering remote control mode. Type CTRL+C to stop server manually or send shutdown message from client" << endl << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment