summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2014-12-10 20:00:05 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 15:04:56 +0100
commitad67ef274e43ee841fb9d60e3cd2370e57418371 (patch)
tree06ce1f74455176530c2314c76cccaf010bb1bba0 /src/libsystemd/sd-bus
parentd076c6f9e486587d634d59082d2a13b9cbb4aef3 (diff)
sd-bus: correct spacing near eol in code comments
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r--src/libsystemd/sd-bus/bus-match.c2
-rw-r--r--src/libsystemd/sd-bus/bus-message.c6
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c2
-rw-r--r--src/libsystemd/sd-bus/test-bus-gvariant.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index 3a31aa0ebf..162f0ab608 100644
--- a/src/libsystemd/sd-bus/bus-match.c
+++ b/src/libsystemd/sd-bus/bus-match.c
@@ -234,7 +234,7 @@ static bool value_node_same(
/* Tests parameters against this value node, not doing prefix
* magic and stuff, i.e. this one actually compares the match
- * itself.*/
+ * itself. */
assert(node);
assert(node->type == BUS_MATCH_VALUE);
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 6bf39cef6b..3134029337 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -1350,7 +1350,7 @@ int message_append_basic(sd_bus_message *m, char type, const void *p, const void
} else {
char *e;
- /* Maybe we can append to the signature? But only if this is the top-level container*/
+ /* Maybe we can append to the signature? But only if this is the top-level container */
if (c->enclosing != 0)
return -ENXIO;
@@ -1543,7 +1543,7 @@ _public_ int sd_bus_message_append_string_space(
} else {
char *e;
- /* Maybe we can append to the signature? But only if this is the top-level container*/
+ /* Maybe we can append to the signature? But only if this is the top-level container */
if (c->enclosing != 0)
return -ENXIO;
@@ -2697,7 +2697,7 @@ _public_ int sd_bus_message_append_string_memfd(
} else {
char *e;
- /* Maybe we can append to the signature? But only if this is the top-level container*/
+ /* Maybe we can append to the signature? But only if this is the top-level container */
if (c->enclosing != 0)
return -ENXIO;
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
index ef0b15185f..fd59bac557 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/sd-bus/sd-bus.c
@@ -2713,7 +2713,7 @@ static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec) {
if (need_more)
/* The caller really needs some more data, he doesn't
* care about what's already read, or any timeouts
- * except its own.*/
+ * except its own. */
e |= POLLIN;
else {
usec_t until;
diff --git a/src/libsystemd/sd-bus/test-bus-gvariant.c b/src/libsystemd/sd-bus/test-bus-gvariant.c
index 56df5d0b48..d700a35b0c 100644
--- a/src/libsystemd/sd-bus/test-bus-gvariant.c
+++ b/src/libsystemd/sd-bus/test-bus-gvariant.c
@@ -140,7 +140,7 @@ static void test_marshal(void) {
if (r < 0)
exit(EXIT_TEST_SKIP);
- bus->message_version = 2; /* dirty hack to enable gvariant*/
+ bus->message_version = 2; /* dirty hack to enable gvariant */
assert_se(sd_bus_message_new_method_call(bus, &m, "a.service.name", "/an/object/path/which/is/really/really/long/so/that/we/hit/the/eight/bit/boundary/by/quite/some/margin/to/test/this/stuff/that/it/really/works", "an.interface.name", "AMethodName") >= 0);