mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 13:55:41 +00:00
Merge pull request #5 from Vlaix/master
Fixed small buffer in get_datetime()
This commit is contained in:
commit
175844da0f
@ -168,7 +168,7 @@ char *
|
||||
get_datetime()
|
||||
{
|
||||
time_t tm;
|
||||
size_t bufsize = 19;
|
||||
size_t bufsize = 64;
|
||||
char *buf = malloc(bufsize);
|
||||
|
||||
/* get time in format */
|
||||
|
Loading…
Reference in New Issue
Block a user