]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/hostname-util: do truncation last when cleaning up 10897/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 5 Dec 2018 11:27:29 +0000 (12:27 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Dec 2018 08:56:56 +0000 (09:56 +0100)
commit5fe7a0a7de9027bbae1a20738da613d6591feec8
treea2ead1edd5d16a85fb6b81de4a09a7f0806504cb
parentd65652f1f21a4b0c59711320f34266c635393c89
basic/hostname-util: do truncation last when cleaning up

This allows more of the original name to be used if there are invalid
chars in the beginning.
src/basic/hostname-util.c
src/test/test-hostname-util.c