From: Alexander Barton Date: Sat, 29 Jun 2019 14:07:29 +0000 (+0200) Subject: Enlage buffers of info texts to 128 bytes. X-Git-Tag: rel-26-rc1~65 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff_plain;h=2c495a1fe7c25494248204b725afaffc8c71411a Enlage buffers of info texts to 128 bytes. This includes: - "Real name" of a client (4th filed of the USER command). - Server info text ("Info" configuration option). - Admin info texts and email address ("AdminInfo1", "AdminInfo2" and "AdminEmail" configuration options). - Network name ("Network" configuration option). The limit was 64 bytes before ... Closes #258. --- diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index f2666905..ff8cd226 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -130,7 +130,7 @@ #define CLIENT_MODE_LEN 21 /** Max. length of server info texts (including NULL). */ -#define CLIENT_INFO_LEN 64 +#define CLIENT_INFO_LEN 128 /** Max. length of away messages (including NULL). */ #define CLIENT_AWAY_LEN 128