]> git.ipfire.org Git - thirdparty/systemd.git/commit
wait-online: several cleanups for LinkOperationalState
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 16 Jan 2024 16:04:18 +0000 (01:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 16 Jan 2024 19:05:43 +0000 (04:05 +0900)
commit2e59ba4e24f29901789b7845cc0087f1414eb9d9
treed1c4f7965b604445535d0a0fbc8e4e2439078d85
parent2278d9f66ead0b68acc75c09d27a7761bdee5fb3
wait-online: several cleanups for LinkOperationalState

- fix memleak in parser,
- fix missing return in parser on failure,
- drop unnecessary temporary argument in command line argument parser,
- use recently introduced macros and helper functions.
src/network/wait-online/manager.c
src/network/wait-online/wait-online.c