-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use snprintf instead of strncat (better behavior - always appends \0 and no need to subtract 1 from len /and expecting that there is \0 at the end) - use actual string length with sizeof than STR_LEN (which may get removed because it is misleading in respect to global STR_LENi value)
- Loading branch information
1 parent
6b03287
commit 772ef5d
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters