ircd: Use a larger buffer for ilog() buf2

This commit is contained in:
Simon Arlott 2019-09-15 10:41:33 +01:00
parent 6769ac13a2
commit b3a987ed15
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -168,7 +168,7 @@ ilog(ilogfile dest, const char *format, ...)
{
FILE *logfile = *log_table[dest].logfile;
char buf[BUFSIZE];
char buf2[BUFSIZE];
char buf2[MAX_DATE_STRING + 1 + BUFSIZE + 1];
va_list args;
if(logfile == NULL)