teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0245-sd-bus-adjust-indentation-of-comments.patch

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