1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 20:36:45 +02:00

log events

This commit is contained in:
Jfreegman
2014-02-26 06:35:19 -05:00
parent a61f5f6a6d
commit 8e4db369bc
5 changed files with 41 additions and 15 deletions

View File

@ -136,7 +136,7 @@ struct StatusBar {
};
#define MAX_LOG_BUF_LINES 10 /* write log_buf contents to log file after this many lines */
#define MAX_LOG_LINE_SIZE MAX_STR_SIZE + TOXIC_MAX_NAME_LENGTH + 24 /* extra room for timestamp */
#define MAX_LOG_LINE_SIZE MAX_STR_SIZE + TOXIC_MAX_NAME_LENGTH + 32 /* extra room for timestamp */
struct chatlog {
uint8_t log_path[MAX_STR_SIZE];