Skip to content

Commit

Permalink
Increase date_stamp size for log files
Browse files Browse the repository at this point in the history
  • Loading branch information
babelouest committed Mar 4, 2024
1 parent fb1647c commit 4b2861c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yder.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static void y_write_log_journald(const char * app_name, const unsigned long leve
* Append log message to the log file
*/
static void y_write_log_file(const char * app_name, const char * date_format, const time_t date, FILE * log_file, const unsigned long level, const char * message, int split) {
char * level_name = NULL, date_stamp[20], ** message_split = NULL;
char * level_name = NULL, date_stamp[64], ** message_split = NULL;
struct tm tm_stamp;
size_t i;

Expand Down

0 comments on commit 4b2861c

Please sign in to comment.