1
0
Fork 0

Merge pull request #5 from Vlaix/master

Fixed small buffer in get_datetime()
This commit is contained in:
Aaron Marcher 2016-03-10 10:59:59 +01:00
commit 175844da0f

View file

@ -168,7 +168,7 @@ char *
get_datetime() get_datetime()
{ {
time_t tm; time_t tm;
size_t bufsize = 19; size_t bufsize = 64;
char *buf = malloc(bufsize); char *buf = malloc(bufsize);
/* get time in format */ /* get time in format */