summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-question.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-18 20:21:30 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-18 23:31:16 +0100
commit6a21960c0be378799db51a2735ff68474e5e21f8 (patch)
tree7c956f8b558aaf1ae0ea0778c026e9f8fc02ecf5 /src/resolve/resolved-dns-question.c
parent0cf40f5527501f80044c1a2612781dd552d46591 (diff)
resolved: make key argument of dns_question_contains() const
Diffstat (limited to 'src/resolve/resolved-dns-question.c')
-rw-r--r--src/resolve/resolved-dns-question.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-question.c b/src/resolve/resolved-dns-question.c
index 4ed7434d3c..a8225e2e94 100644
--- a/src/resolve/resolved-dns-question.c
+++ b/src/resolve/resolved-dns-question.c
@@ -155,7 +155,7 @@ int dns_question_is_valid_for_query(DnsQuestion *q) {
return 1;
}
-int dns_question_contains(DnsQuestion *a, DnsResourceKey *k) {
+int dns_question_contains(DnsQuestion *a, const DnsResourceKey *k) {
unsigned j;
int r;