51 lines
2.0 KiB
Diff
51 lines
2.0 KiB
Diff
|
From 7e0f9a0cd4053fcc713a99ada3d0d50793b83564 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||
|
Date: Tue, 27 Aug 2019 19:00:50 +0200
|
||
|
Subject: [PATCH] sd-bus: adjust indentation of comments
|
||
|
|
||
|
Related: #1746857
|
||
|
---
|
||
|
src/libsystemd/sd-bus/sd-bus.c | 3 +--
|
||
|
src/shared/bus-util.c | 7 ++++---
|
||
|
2 files changed, 5 insertions(+), 5 deletions(-)
|
||
|
|
||
|
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
|
||
|
index 3583e24e64..1c9e967ae0 100644
|
||
|
--- a/src/libsystemd/sd-bus/sd-bus.c
|
||
|
+++ b/src/libsystemd/sd-bus/sd-bus.c
|
||
|
@@ -1341,8 +1341,7 @@ _public_ int sd_bus_open_user_with_description(sd_bus **ret, const char *descrip
|
||
|
b->bus_client = true;
|
||
|
b->is_user = true;
|
||
|
|
||
|
- /* We don't do any per-method access control on the user
|
||
|
- * bus. */
|
||
|
+ /* We don't do any per-method access control on the user bus. */
|
||
|
b->trusted = true;
|
||
|
b->is_local = true;
|
||
|
|
||
|
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
|
||
|
index 302dbb4c2e..2d908eb45c 100644
|
||
|
--- a/src/shared/bus-util.c
|
||
|
+++ b/src/shared/bus-util.c
|
||
|
@@ -1675,7 +1675,8 @@ int bus_open_system_watch_bind_with_description(sd_bus **ret, const char *descri
|
||
|
|
||
|
assert(ret);
|
||
|
|
||
|
- /* Match like sd_bus_open_system(), but with the "watch_bind" feature and the Connected() signal turned on. */
|
||
|
+ /* Match like sd_bus_open_system(), but with the "watch_bind" feature and the Connected() signal
|
||
|
+ * turned on. */
|
||
|
|
||
|
r = sd_bus_new(&bus);
|
||
|
if (r < 0)
|
||
|
@@ -1890,8 +1891,8 @@ int bus_reply_pair_array(sd_bus_message *m, char **l) {
|
||
|
|
||
|
assert(m);
|
||
|
|
||
|
- /* Reply to the specified message with a message containing a dictionary put together from the specified
|
||
|
- * strv */
|
||
|
+ /* Reply to the specified message with a message containing a dictionary put together from the
|
||
|
+ * specified strv */
|
||
|
|
||
|
r = sd_bus_message_new_method_return(m, &reply);
|
||
|
if (r < 0)
|