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:
committed by
Yu Watanabe
parent
9422ce83c2
commit
51cc3825d1
@@ -0,0 +1,6 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression m;
|
||||
@@
|
||||
- sd_bus_send(NULL, m, NULL)
|
||||
+ sd_bus_message_send(m)
|
||||
Reference in New Issue
Block a user