From e94968ba72eccb75a8185c04dcc3c19f00bd5126 Mon Sep 17 00:00:00 2001 From: Torstein Husebø Date: Tue, 26 Jan 2016 09:59:09 +0100 Subject: resolve: fix typos --- man/systemd-resolve.xml | 2 +- src/resolve/resolved-dns-transaction.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-resolve.xml b/man/systemd-resolve.xml index 546054a403..f1e663c5bb 100644 --- a/man/systemd-resolve.xml +++ b/man/systemd-resolve.xml @@ -179,7 +179,7 @@ - Enables service resolution. This enables DNS-SD and simple SRV service resolution, dependending + Enables service resolution. This enables DNS-SD and simple SRV service resolution, depending on the specified list of parameters (see above). diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 802ad860a4..637b99aaa5 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -1538,7 +1538,7 @@ int dns_transaction_go(DnsTransaction *t) { return 0; } if (t->scope->protocol == DNS_PROTOCOL_LLMNR && ERRNO_IS_DISCONNECT(-r)) { - /* On LLMNR, if we cannot connect to a host via TCP when doing revers lookups. This means we cannot + /* On LLMNR, if we cannot connect to a host via TCP when doing reverse lookups. This means we cannot * answer this request with this protocol. */ dns_transaction_complete(t, DNS_TRANSACTION_NOT_FOUND); return 0; -- cgit v1.2.3-54-g00ecf From fa9e9f72b954fa42bbab8c4cc3c26d992e9615ef Mon Sep 17 00:00:00 2001 From: Torstein Husebø Date: Fri, 29 Jan 2016 15:41:24 +0100 Subject: resolve: Silence build warning, when systemd is built without libidn HAVE_IDN is not defined when systemd is build without it --- src/resolve/test-dnssec-complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c index caac251e83..cde9741866 100644 --- a/src/resolve/test-dnssec-complex.c +++ b/src/resolve/test-dnssec-complex.c @@ -220,7 +220,7 @@ int main(int argc, char* argv[]) { test_hostname_lookup(bus, "poettering.de", AF_INET, NULL); test_hostname_lookup(bus, "poettering.de", AF_INET6, NULL); -#if HAVE_LIBIDN +#ifdef HAVE_LIBIDN /* Unsigned A with IDNA conversion necessary */ test_hostname_lookup(bus, "pöttering.de", AF_UNSPEC, NULL); test_hostname_lookup(bus, "pöttering.de", AF_INET, NULL); -- cgit v1.2.3-54-g00ecf