diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-07-20 14:17:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-07-31 18:20:28 +0200 |
commit | 47b33c7d5284492e5679ccfabafe8c9738de8cb3 (patch) | |
tree | cfcb7547b8dee46bf30ac2b088734593f7649d1b /src/journal/journald-context.c | |
parent | c165d97d16f24c9c28d9574ed82b3a6669408ca5 (diff) | |
download | systemd-47b33c7d5284492e5679ccfabafe8c9738de8cb3.tar.gz |
string-util: optimize strshorten() a bit
There's no reason to determine the full length of the string, it's
sufficient to know whether it is larger than the intended size...
Diffstat (limited to 'src/journal/journald-context.c')
0 files changed, 0 insertions, 0 deletions