]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
treewide: fix typos and spacing 2546/head
authorTorstein Husebø <torstein@huseboe.net>
Wed, 13 Jan 2016 13:52:51 +0000 (14:52 +0100)
committerTorstein Husebø <torstein@huseboe.net>
Sun, 7 Feb 2016 14:31:04 +0000 (15:31 +0100)
src/core/unit.c
src/journal/sd-journal.c
src/resolve/resolved-dns-dnssec.c
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-rr.c

index 0c1efc0e166f67ec137f9b02c251ddafde56d22d..be4dac8feaff4b38167827c17be3e0d778e9c803 100644 (file)
@@ -2852,7 +2852,7 @@ int unit_deserialize(Unit *u, FILE *f, FDSet *fds) {
 
         /* Versions before 228 did not carry a state change timestamp. In this case, take the current time. This is
          * useful, so that timeouts based on this timestamp don't trigger too early, and is in-line with the logic from
-         * before 228 where the base for timeouts was not peristet across reboots. */
+         * before 228 where the base for timeouts was not persistent across reboots. */
 
         if (!dual_timestamp_is_set(&u->state_change_timestamp))
                 dual_timestamp_get(&u->state_change_timestamp);
index 7a3aaf0cab065b810ae34846407cad50939a304a..5ff2335efed793d5b2131c32cd0635b3b136016e 100644 (file)
@@ -2638,7 +2638,7 @@ _public_ int sd_journal_enumerate_fields(sd_journal *j, const char **field) {
                         }
                 }
 
-                /* We use OBJECT_UNUSED here, so that the iteator below doesn't remove our mmap window */
+                /* We use OBJECT_UNUSED here, so that the iterator below doesn't remove our mmap window */
                 r = journal_file_move_to_object(f, OBJECT_UNUSED, j->fields_offset, &o);
                 if (r < 0)
                         return r;
index 21cf1614948d447870087e8cbf10938b91514030..701b735a5d808517828d65ed6ca1a9a7ee84ad15 100644 (file)
@@ -1248,7 +1248,7 @@ static int nsec3_is_good(DnsResourceRecord *rr, DnsResourceRecord *nsec3) {
         if (rr->key->type != DNS_TYPE_NSEC3)
                 return 0;
 
-        /* RFC  5155, Section 8.2 says we MUST ignore NSEC3 RRs with flags != 0 or 1 */
+        /* RFC 5155, Section 8.2 says we MUST ignore NSEC3 RRs with flags != 0 or 1 */
         if (!IN_SET(rr->nsec3.flags, 0, 1))
                 return 0;
 
index 5cbe20832f3c70d92c5ffaa6091bf6f27850be34..0bf268398c75d6aa88aa0f46c4ef28a11504caaf 100644 (file)
@@ -2170,7 +2170,7 @@ int dns_packet_extract(DnsPacket *p) {
                                 }
 
                                 if (!dns_name_is_root(DNS_RESOURCE_KEY_NAME(rr->key))) {
-                                        /* If the OPT RR qis not owned by the root domain, then it is bad, let's ignore
+                                        /* If the OPT RR is not owned by the root domain, then it is bad, let's ignore
                                          * it. */
                                         log_debug("OPT RR is not owned by root domain, ignoring.");
                                         bad_opt = true;
index 783ec7516cb95ff5209ffe6e21c4d59a078cd35f..33e6f0014b622e77847699304521d14ecd915908 100644 (file)
@@ -1450,7 +1450,7 @@ static int dns_resource_record_compare_func(const void *a, const void *b) {
         if (dns_resource_record_equal(x, y))
                 return 0;
 
-        /* This is a bit dirty, we don't implement proper odering, but
+        /* This is a bit dirty, we don't implement proper ordering, but
          * the hashtable doesn't need ordering anyway, hence we don't
          * care. */
         return x < y ? -1 : 1;