Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not return pointer to local from get_timezone
The pointed at variable was also a wchar_t array, not char, and so also convert the contents to UTF-8. The static buffer is sized for the worst case and the conversion will always succeed.
- Loading branch information