Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
790e150
)
Fixed small buffer in get_datetime()
author
Vincent Loupmon <
[email protected]
>
Thu, 10 Mar 2016 09:53:14 +0000
(10:53 +0100)
committer
Vincent Loupmon <
[email protected]
>
Thu, 10 Mar 2016 09:53:14 +0000
(10:53 +0100)
The buffer being hardcoded to 19 (the size expected from the default time format),
strftime() would fail on any format returning a longer buffer.
Changed it from 19 to 64 to accomodate longer formats.
No differences found