summaryrefslogtreecommitdiffstats
path: root/src/shrpx_dns_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shrpx_dns_resolver.h')
-rw-r--r--src/shrpx_dns_resolver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shrpx_dns_resolver.h b/src/shrpx_dns_resolver.h
index e622f99..4d68273 100644
--- a/src/shrpx_dns_resolver.h
+++ b/src/shrpx_dns_resolver.h
@@ -88,7 +88,7 @@ public:
int on_write(int fd);
int on_timeout();
// Calls this function when DNS query finished.
- void on_result(int status, hostent *hostent);
+ void on_result(int status, ares_addrinfo *result);
void reset_timeout();
void start_rev(int fd);