]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
util: introduce fputs_with_space() and make use of it at various places
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Jan 2016 21:42:36 +0000 (22:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 13:42:04 +0000 (14:42 +0100)
commitd390f8ef2dc0cd041914d3c2fd3e1081605cbfc8
treebaea925afd20e984696718b5813c2441444184ab
parentb2a81c0b524fee0a1713720462b6db5c302c3933
util: introduce fputs_with_space() and make use of it at various places

The call combines outputing a string with prefixing it with a space, optionally. This is useful to shorten the logic
for outputing lists of strings, that are space separated.
src/basic/fileio.c
src/basic/fileio.h
src/basic/strv.c
src/network/networkd-link.c
src/network/networkd-manager.c