chiark / gitweb /
sd-bus: correct spacing near eol in code comments
authorTorstein Husebø <torstein@huseboe.net>
Wed, 10 Dec 2014 19:00:05 +0000 (20:00 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Dec 2014 14:04:56 +0000 (15:04 +0100)
src/libsystemd/sd-bus/bus-match.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/sd-bus.c
src/libsystemd/sd-bus/test-bus-gvariant.c

index 3a31aa0ebfc9cc6a79470314332b795c62ae7190..162f0ab608b1b6066e9792ed65db1d539a0768ca 100644 (file)
@@ -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);
index 6bf39cef6b3174812fbe921993ccde0bbc8b0a1d..313402933720fd81d90e3c05b57943210118ccb9 100644 (file)
@@ -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;
 
index ef0b15185f86092a5c7e4def68a7ffe577090774..fd59bac557899e9ea6034132bbe0729f33151f13 100644 (file)
@@ -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;
index 56df5d0b48efcf353eb2a21c1006279a485253fb..d700a35b0c5db3eb049058e5bcbd3fa2bff9925e 100644 (file)
@@ -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);