]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
treewide: fix typos and indentation 2165/head
authorTorstein Husebø <torstein@huseboe.net>
Fri, 4 Dec 2015 07:03:59 +0000 (08:03 +0100)
committerTorstein Husebø <torstein@huseboe.net>
Mon, 14 Dec 2015 14:53:11 +0000 (15:53 +0100)
src/hostname/hostnamed.c
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-transaction.c

index d383041d3951c6cf73fdd8c89767d18515de26a6..84605fa2674f65a468c035ad894a945daa33a8fb 100644 (file)
@@ -212,7 +212,7 @@ try_dmi:
            unreliable enough, so let's not do any additional guesswork
            on top of that.
 
-           See the SMBIOS Specification 4.0 section 7.4.1 for
+           See the SMBIOS Specification 3.0 section 7.4.1 for
            details about the values listed here:
 
            https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdf
index 4e069ab4cb45f4c8462d4fad2d0dd9e4beb5c372..b0739fcf12ab87f6d3d6872f14838c66276d612a 100644 (file)
@@ -80,7 +80,7 @@ void dns_packet_set_flags(DnsPacket *p, bool dnssec_checking_disabled, bool trun
                 h->flags = htobe16(DNS_PACKET_MAKE_FLAGS(0 /* qr */,
                                                          0 /* opcode */,
                                                          0 /* c */,
-                                                         0/* tc */,
+                                                         0 /* tc */,
                                                          0 /* t */,
                                                          0 /* ra */,
                                                          0 /* ad */,
@@ -1848,7 +1848,7 @@ int dns_packet_read_rr(DnsPacket *p, DnsResourceRecord **ret, size_t *start) {
         case DNS_TYPE_NSEC: {
 
                 /*
-                 * RFC6762, section 18.14 explicly states mDNS should use name compression.
+                 * RFC6762, section 18.14 explictly states mDNS should use name compression.
                  * This contradicts RFC3845, section 2.1.1
                  */
 
index 61bca04b94309f3ff22a1f87c5bac66de99b1db1..5bd733a8ff36191a91d5ba1420b649386a244101 100644 (file)
@@ -506,7 +506,7 @@ int dns_scope_good_key(DnsScope *s, DnsResourceKey *key) {
 
         if (s->protocol == DNS_PROTOCOL_DNS) {
 
-                /* On classic DNS, lookin up non-address RRs is always
+                /* On classic DNS, looking up non-address RRs is always
                  * fine. (Specifically, we want to permit looking up
                  * DNSKEY and DS records on the root and top-level
                  * domains.) */
index 8b3e59a1eabc4c6f5f74a19eb24dddb7d9566fdc..82b49c1440570caaed7a29d062b991059dff3987 100644 (file)
@@ -843,7 +843,7 @@ static int dns_transaction_make_packet_mdns(DnsTransaction *t) {
         assert(t);
         assert(t->scope->protocol == DNS_PROTOCOL_MDNS);
 
-        /* Discard any previously prepared packet, so we can start over and coaleasce again */
+        /* Discard any previously prepared packet, so we can start over and coalesce again */
         t->sent = dns_packet_unref(t->sent);
 
         r = dns_packet_new_query(&p, t->scope->protocol, 0, false);