tree-wide: use sd_bus_message_send() instead of sd_bus_send() wherever possible

Also, add a coccinelle script that patches this automatically.
This commit is contained in:
Lennart Poettering
2025-06-24 23:23:40 +09:00
committed by Yu Watanabe
parent 9422ce83c2
commit 51cc3825d1
20 changed files with 58 additions and 52 deletions
+1 -1
View File
@@ -1064,7 +1064,7 @@ static int method_list_timezones(sd_bus_message *m, void *userdata, sd_bus_error
if (r < 0)
return r;
return sd_bus_send(NULL, reply, NULL);
return sd_bus_message_send(reply);
}
static const sd_bus_vtable timedate_vtable[] = {