summaryrefslogtreecommitdiff
path: root/src/journal/journald-context.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-07-20 14:17:30 +0200
committerLennart Poettering <lennart@poettering.net>2017-07-31 18:20:28 +0200
commit47b33c7d5284492e5679ccfabafe8c9738de8cb3 (patch)
treecfcb7547b8dee46bf30ac2b088734593f7649d1b /src/journal/journald-context.c
parentc165d97d16f24c9c28d9574ed82b3a6669408ca5 (diff)
downloadsystemd-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