summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-query.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-08 02:20:39 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-11 19:39:59 +0100
commitaa4a9deb7d3db95ffb1fd18791be66f58d06a69e (patch)
tree087ecc8f5ab09133653f3395897ce7e16f17d232 /src/resolve/resolved-dns-query.c
parent35908b983545d540ff75d6a0f4fbac969463a250 (diff)
resolved: set a description on all our event sources
Diffstat (limited to 'src/resolve/resolved-dns-query.c')
-rw-r--r--src/resolve/resolved-dns-query.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.c b/src/resolve/resolved-dns-query.c
index 0f2f2599ab..1948d59fc4 100644
--- a/src/resolve/resolved-dns-query.c
+++ b/src/resolve/resolved-dns-query.c
@@ -961,6 +961,8 @@ int dns_query_go(DnsQuery *q) {
if (r < 0)
goto fail;
+ (void) sd_event_source_set_description(q->timeout_event_source, "query-timeout");
+
q->state = DNS_TRANSACTION_PENDING;
q->block_ready++;