Skip to content
Snippets Groups Projects
Commit 63e2c1f4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve server_abbrev conflict between terminal and FTP servers

These should've been static to begin with, like the other servers. Explains why FTP error message are with "term" as the server.
parent e46c3c12
No related branches found
No related tags found
No related merge requests found
Pipeline #5389 passed
......@@ -49,7 +49,7 @@
/* Constants */
#define FTP_SERVER "Synchronet FTP Server"
const char* server_abbrev = "ftp";
static const char* server_abbrev = "ftp";
#define ANONYMOUS "anonymous"
......
......@@ -41,7 +41,7 @@
//---------------------------------------------------------------------------
#define TELNET_SERVER "Synchronet Terminal Server"
const char* server_abbrev = "term";
static const char* server_abbrev = "term";
#define TIMEOUT_THREAD_WAIT 60 // Seconds (was 15)
#define IO_THREAD_BUF_SIZE 20000 // Bytes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment