diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-09-23 18:03:40 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-09-23 18:03:40 -0700 |
commit | 4c9a16f4efe7fe2af2f418f8c668e51626eaf702 (patch) | |
tree | 2e7cd4a670a0df3e9da3b415b5138a7a17e5cb25 /src/xevent.c | |
parent | 8f241509d127f114f46c95769c0ec66e51be222b (diff) |
charts: introduce snprintf helper snpf()
Cleanup previous commit that littered MIN length clamping everywhere
%n was being used w/snprintf. Removed the %n usage altogether and
just clamps the return value out of snprintf to the buffer size minus
one for the null terminator.
The standard C library has such awful warts :/
Diffstat (limited to 'src/xevent.c')
0 files changed, 0 insertions, 0 deletions