diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 306a2f15..2328a5aa 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -392,6 +392,8 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM //int portNumber = config.getInt("FTPServerPort",intToStr(ServerSocket::getFTPServerPort()).c_str()); int portNumber = clientInterface->getServerFTPPort(); + SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d] Using FTP port #: %d\n",__FILE__,__FUNCTION__,__LINE__,portNumber); + vector mapPathList = config.getPathListForType(ptMaps); std::pair mapsPath; if(mapPathList.size() > 0) { diff --git a/source/glest_game/menu/menu_state_join_game.cpp b/source/glest_game/menu/menu_state_join_game.cpp index f923cde0..38f22b57 100644 --- a/source/glest_game/menu/menu_state_join_game.cpp +++ b/source/glest_game/menu/menu_state_join_game.cpp @@ -561,6 +561,8 @@ void MenuStateJoinGame::connectToServer() { } if( clientInterface->isConnected() == true && clientInterface->getIntroDone() == true) { + + SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d] Using FTP port #: %d\n",__FILE__,__FUNCTION__,__LINE__,clientInterface->getServerFTPPort()); abortAutoFind = true; clientInterface->stopServerDiscovery(); mainMenu->setState(new MenuStateConnectedGame(program, mainMenu)); diff --git a/source/shared_lib/sources/platform/posix/miniftpclient.cpp b/source/shared_lib/sources/platform/posix/miniftpclient.cpp index fd319754..26bbc8b6 100644 --- a/source/shared_lib/sources/platform/posix/miniftpclient.cpp +++ b/source/shared_lib/sources/platform/posix/miniftpclient.cpp @@ -194,6 +194,8 @@ FTPClientThread::FTPClientThread(int portNumber, string serverUrl, std::pairmapsPath = mapsPath; this->tilesetsPath = tilesetsPath; this->pCBObject = pCBObject; + + SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d] Using FTP port #: %d, serverUrl [%s]\n",__FILE__,__FUNCTION__,__LINE__,portNumber,serverUrl.c_str()); } void FTPClientThread::signalQuit() {