[TFTPD] Fix compilation, and use the #define MAX_SERVERS where needed instead of hardcoding its value.

This commit is contained in:
Hermès Bélusca-Maïto 2018-03-31 17:04:47 +02:00
parent af57aba104
commit a45713f4c2
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 22 additions and 2 deletions

View file

@ -137,7 +137,11 @@ struct data1
struct data2
{
WSADATA wsaData;
#ifdef __REACTOS__
home homes[MAX_SERVERS];
#else
home homes[8];
#endif
FILE *logfile;
data12 hostRanges[32];
char fileRead;