mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-13 21:27:06 +00:00
Fix #231
This commit is contained in:
parent
2e5919b091
commit
7a100575ae
2 changed files with 2 additions and 2 deletions
2
3rd-party/ftp/ftp.c
vendored
2
3rd-party/ftp/ftp.c
vendored
|
@ -27,7 +27,7 @@
|
|||
#define SOCK_BUFFERSIZE 65536
|
||||
#define FILE_BUFFERSIZE 1048576
|
||||
#define CMD_BUFFERSIZE 4096
|
||||
#define LISTEN_PORT 5000
|
||||
#define LISTEN_PORT 50000
|
||||
#define DATA_PORT 0 /* ephemeral port */
|
||||
|
||||
typedef struct ftp_session_t ftp_session_t;
|
||||
|
|
|
@ -193,7 +193,7 @@ void MainScreen::draw() const
|
|||
if (gethostid() != INADDR_LOOPBACK) {
|
||||
if (g_ftpAvailable && Configuration::getInstance().isFTPEnabled()) {
|
||||
SDLH_DrawText(24, 16 * 6 + checkpoint_w + 8 + ver_w + inst_w, 642 + (40 - checkpoint_h) / 2 + checkpoint_h - inst_h, COLOR_GOLD,
|
||||
StringUtils::format("FTP server running on %s:5000", getConsoleIP()).c_str());
|
||||
StringUtils::format("FTP server running on %s:50000", getConsoleIP()).c_str());
|
||||
}
|
||||
SDLH_DrawText(24, 16 * 6 + checkpoint_w + 8 + ver_w + inst_w, 672 + (40 - checkpoint_h) / 2 + checkpoint_h - inst_h, COLOR_GOLD,
|
||||
StringUtils::format("Configuration server running on %s:8000", getConsoleIP()).c_str());
|
||||
|
|
Loading…
Reference in a new issue