teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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