Browse Source

Fix #2051

pull/2064/head
Max Lv 6 years ago
parent
commit
a0ef456977
1 changed files with 1 additions and 1 deletions
  1. 2
      src/server.c

2
src/server.c

@ -971,7 +971,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
memset(query, 0, sizeof(query_t));
query->server = server;
server->query = query;
snprintf(query->hostname, 256, "%s", host);
snprintf(query->hostname, 257, "%s", host);
server->stage = STAGE_RESOLVE;
resolv_start(host, port, resolv_cb, resolv_free_cb, query);

Loading…
Cancel
Save