Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit (hopefully) fixes an issue with `strncpy()` that Codacy pointed out. While it's safe, because I'm using a constant string, let's write good C code and avoid using `strncpy()`. This commit replaces that with a call to `snprintf()` instead, and simplifies some of the code around that point.
- Loading branch information