summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-02-08 13:27:22 +0100
committerTorstein Husebø <torstein@huseboe.net>2016-02-24 11:56:11 +0100
commit96d490114900686b4d17f9b751fab6e39cfcc560 (patch)
tree150de8b7f09fd85572ade2ddbc53d1769e36bcf9 /src/resolve
parent77d9510adc57224946393ed4fdc4e0468e3b501d (diff)
treewide: fix typos and then/that use
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-dns-answer.c2
-rw-r--r--src/resolve/resolved-dns-rr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-answer.c b/src/resolve/resolved-dns-answer.c
index 5d7b4b4b5c..0dadf8b1dd 100644
--- a/src/resolve/resolved-dns-answer.c
+++ b/src/resolve/resolved-dns-answer.c
@@ -757,7 +757,7 @@ int dns_answer_reserve_or_clone(DnsAnswer **a, unsigned n_free) {
assert(a);
/* Tries to extend the DnsAnswer object. And if that's not
- * possibly, since we are not the sole owner, then allocate a
+ * possible, since we are not the sole owner, then allocate a
* new, appropriately sized one. Either way, after this call
* the object will only have a single reference, and has room
* for at least the specified number of RRs. */
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h
index 646e34598d..020a2abd77 100644
--- a/src/resolve/resolved-dns-rr.h
+++ b/src/resolve/resolved-dns-rr.h
@@ -82,7 +82,7 @@ enum {
struct DnsResourceKey {
unsigned n_ref; /* (unsigned -1) for const keys, see below */
uint16_t class, type;
- char *_name; /* don't access directy, use dns_resource_key_name()! */
+ char *_name; /* don't access directly, use dns_resource_key_name()! */
};
/* Creates a temporary resource key. This is only useful to quickly