diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-08 02:20:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-11 19:39:59 +0100 |
commit | aa4a9deb7d3db95ffb1fd18791be66f58d06a69e (patch) | |
tree | 087ecc8f5ab09133653f3395897ce7e16f17d232 /src/resolve/resolved-dns-query.c | |
parent | resolved: fix error propagation (diff) | |
download | systemd-aa4a9deb7d3db95ffb1fd18791be66f58d06a69e.tar.xz systemd-aa4a9deb7d3db95ffb1fd18791be66f58d06a69e.zip |
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.c | 2 |
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++; |