James Prestwood
8ebc4780ea
station: fix setting an empty affinities list
...
A prior patch broke this by checking the return of
l_dbus_message_iter_next_entry. This was really subtle but the logic
actually relied on _not_ checking that return in order to handle
empty lists.
Instead of reverting the logic was adapted/commented to make it more
clear what the API expects from DBus. If list contains at least one
value the first element path will get set, if it contains zero
values "new_path" will be set to NULL which will then cause the
list to be cleared later on.
This both fixes the regression, and makes it clear that a zero
element list is supported and handled.
2025-04-23 09:42:48 -05:00
..
2019-10-25 01:08:56 +02:00
2024-11-25 08:32:03 -06:00
2022-09-13 08:57:55 -05:00
2019-10-25 00:43:08 +02:00
2024-11-07 19:11:59 +01:00
2020-07-09 09:58:21 -05:00
2024-11-20 11:36:28 -06:00
2019-07-15 14:53:44 -05:00
2024-11-25 08:32:03 -06:00
2024-11-07 19:11:59 +01:00
2021-09-28 10:51:33 -05:00
2024-10-23 16:57:28 -05:00
2022-01-11 11:07:05 -06:00
2024-10-24 12:11:31 -05:00
2023-01-03 09:16:32 -06:00
2025-04-01 10:54:04 -05:00
2025-04-01 10:54:04 -05:00
2023-04-16 13:01:01 -05:00
2019-10-25 00:43:08 +02:00
2024-11-20 11:36:20 -06:00
2023-10-17 10:13:42 -05:00
2024-09-03 10:18:56 -05:00
2024-09-03 10:18:56 -05:00
2024-08-23 11:17:20 -05:00
2022-08-04 10:30:46 -05:00
2021-04-28 11:19:38 -05:00
2021-03-29 13:17:36 -05:00
2025-04-16 14:58:00 -05:00
2024-08-23 11:17:20 -05:00
2024-11-25 11:47:07 -06:00
2021-07-30 10:38:26 -05:00
2022-01-11 11:07:33 -06:00
2021-06-01 10:44:57 -05:00
2025-04-16 14:58:00 -05:00
2020-03-17 15:35:22 -05:00
2023-01-03 09:58:29 -06:00
2021-11-11 14:27:33 -06:00
2023-10-11 10:19:34 -05:00
2020-08-13 10:36:43 -05:00
2024-11-07 19:11:59 +01:00
2023-01-03 09:58:29 -06:00
2023-01-03 09:58:29 -06:00
2023-01-03 09:58:29 -06:00
2024-08-23 11:17:20 -05:00
2020-08-17 09:40:25 -05:00
2024-10-23 16:57:28 -05:00
2022-11-17 10:04:56 -06:00
2024-08-19 11:43:24 -05:00
2023-01-11 15:48:17 -06:00
2022-10-24 11:05:24 -05:00
2022-10-24 11:05:24 -05:00
2023-12-18 22:14:45 -06:00
2023-11-27 11:27:26 +01:00
2024-03-04 13:48:08 -06:00
2021-09-28 16:46:48 -05:00
2024-10-24 09:09:25 -05:00
2024-10-24 09:09:38 -05:00
2023-12-13 10:12:41 -06:00
2023-12-13 10:12:41 -06:00
2017-11-28 13:20:33 -06:00
2025-04-01 11:14:40 -05:00
2024-11-25 08:50:59 -06:00
2022-02-15 17:22:21 -06:00
2024-08-23 11:17:20 -05:00
2024-10-07 13:26:07 -05:00
2023-11-09 09:27:00 -06:00
2021-06-01 10:03:04 -05:00
2023-11-17 14:13:31 -06:00
2023-02-27 10:26:17 -06:00
2025-04-01 11:06:29 -05:00
2022-05-19 09:47:36 -05:00
2024-02-22 10:14:59 -06:00
2024-11-07 19:11:59 +01:00
2019-11-05 22:14:09 +01:00
2022-11-18 10:50:31 +01:00
2022-11-02 11:25:35 +01:00
2023-11-17 09:49:12 -06:00
2024-02-27 13:55:37 -06:00
2024-08-23 11:17:20 -05:00
2024-07-12 11:58:51 -05:00
2024-09-25 09:52:38 -05:00
2021-09-20 10:32:51 -05:00
2019-11-24 19:44:06 +01:00
2021-11-11 14:27:33 -06:00
2024-10-07 13:26:07 -05:00
2023-12-06 10:58:38 -06:00
2024-11-07 19:11:59 +01:00
2019-10-25 00:43:08 +02:00
2018-08-09 10:45:16 -05:00
2024-02-28 11:51:33 -06:00
2024-11-07 19:11:59 +01:00
2022-10-26 14:16:22 -05:00
2025-04-01 11:15:03 -05:00
2025-04-01 10:55:10 -05:00
2025-04-01 10:52:25 -05:00
2024-08-19 11:43:24 -05:00
2021-10-19 13:28:07 -05:00
2019-07-15 14:06:26 -05:00
2024-10-24 12:10:27 -05:00
2024-10-24 12:10:27 -05:00
2024-11-07 19:11:59 +01:00
2022-09-21 21:17:04 -05:00
2020-09-16 14:31:07 -05:00
2024-02-27 13:55:37 -06:00
2021-09-03 14:34:30 -05:00
2024-11-25 08:32:03 -06:00
2020-04-10 06:31:19 -05:00
2024-07-12 16:24:00 -05:00
2024-08-23 11:17:20 -05:00
2019-01-23 18:22:11 +01:00
2025-04-01 11:11:08 -05:00
2025-04-01 11:11:08 -05:00
2022-05-20 10:03:42 -05:00
2021-02-11 15:06:01 -06:00
2019-11-07 23:40:13 +01:00
2019-10-25 00:43:08 +02:00
2024-10-24 09:09:25 -05:00
2024-11-07 19:11:59 +01:00
2024-09-22 16:00:04 -05:00
2025-04-16 14:58:00 -05:00
2024-11-20 11:47:15 -06:00
2020-11-16 17:04:30 -06:00
2022-01-11 11:07:05 -06:00
2020-08-13 10:36:43 -05:00
2019-10-25 00:43:08 +02:00
2025-04-23 09:42:48 -05:00
2024-07-24 15:25:28 -05:00
2025-04-16 14:58:00 -05:00
2022-11-17 10:04:12 -06:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2024-10-23 16:57:28 -05:00
2024-11-20 11:46:43 -06:00
2024-11-20 11:46:43 -06:00
2024-05-29 17:52:23 -05:00
2024-05-29 17:52:23 -05:00
2025-02-13 09:26:17 -06:00
2024-11-25 11:46:53 -06:00
2024-11-25 08:32:03 -06:00
2024-08-23 11:17:20 -05:00
2024-10-23 16:57:28 -05:00
2024-08-23 11:17:20 -05:00