mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-22 22:03:42 +00:00
Refine query interface
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user