]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: make invocations of extract_first_word more uniform (#4627)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Nov 2016 17:58:41 +0000 (12:58 -0500)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Nov 2016 17:58:41 +0000 (18:58 +0100)
commitc58bd76a6af673196ad283131cbe3edcf2bf6291
treef6e10c3e79cd25b9eca6be7b2fa024ef009a29b5
parent5f36e3d30375cf04292bbc1bf3f4d7512cf80139
tree-wide: make invocations of extract_first_word more uniform (#4627)

extract_first_words deals fine with the string being NULL, so drop the upfront
check for that.
src/basic/extract-word.c
src/libsystemd/sd-network/sd-network.c
src/resolve/resolved-link.c
src/shared/bus-unit-util.c
src/shared/condition.c
src/shared/nsflags.c
src/systemctl/systemctl.c