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