wait-online: split out get_state_range()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Feb 2024 17:34:07 +0000 (02:34 +0900)
committerMike Yuan <me@yhndnzj.com>
Thu, 8 Feb 2024 08:59:04 +0000 (16:59 +0800)
commite2382ef0053a8bf09d4cd43e30fc90e6d377986e
tree5833b9e5b57b699f6ba1c96bfee243d224bc2c82
parent02c127b344ed068bd769daa54f0a15f31b5a355e
wait-online: split out get_state_range()

Follow-up for 2d708781620239c9d1f9828a39f8761acf6350b2.

After the conversion from FOREACH_POINTER() to FOREACH_ARGUMENT(),
the iterator is never set to POINTER_MAX.
src/network/wait-online/manager.c