Refine query interface

This commit is contained in:
Max Lv
2017-12-27 22:18:55 -08:00
parent 10ce3ed5d3
commit be795e1985
5 changed files with 6 additions and 19 deletions
+1 -2
View File
@@ -912,8 +912,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
snprintf(query->hostname, 256, "%s", host);
server->stage = STAGE_RESOLVE;
struct resolv_query *q = resolv_start(host, port,
resolv_cb, resolv_free_cb, query);
resolv_start(host, port, resolv_cb, resolv_free_cb, query);
}
return;