fix : lower max message length to fit with RFC865

This commit is contained in:
2025-03-01 12:52:25 +01:00
parent 3c770e4ea4
commit 5d8f263773
2 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -1 +1,9 @@
première ligne\nDeuxième ligne\ntroixième ligne 1
2
3
4
5
6
7
8
9
+2 -2
View File
@@ -6,7 +6,7 @@
#define QOTD_CONFIG_H #define QOTD_CONFIG_H
#define QUOTES_FILE "./quotes.txt" #define QUOTES_FILE "./quotes.txt"
#define MESSAGE_STRING_LENGTH 2048 #define MESSAGE_STRING_LENGTH 512
#define DEFAULT_LISTEN_PORT 17 // should be 17 to be RFC compliant #define DEFAULT_LISTEN_PORT 17 // should be 17 to be RFC compliant
#endif //QOTD_CONFIG_H #endif // QOTD_CONFIG_H