diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-11 22:13:06 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-03-11 22:24:02 +0100 |
commit | e3133ed98f5e24edea088b95f121f2ee4e41d5e4 (patch) | |
tree | 39b7a2e58c37faee8c09d5fee6138203aafb11ec /Dockerfile.debian | |
parent | c1ccaee58fe576e4e8f232f7e20ebb912ffb2a1a (diff) | |
download | profani-tty-e3133ed98f5e24edea088b95f121f2ee4e41d5e4.tar.gz |
autocomplete: Use asprintf don't calculate length twice
Through asprintf() we can get rid of malloc() + sprintf(). Also we don't need to calculate the strlen() again since asprintf() returns the bytes printes. Only non UTF-8 characters. But that was true before already.
Diffstat (limited to 'Dockerfile.debian')
0 files changed, 0 insertions, 0 deletions