Skip to content

Commit

Permalink
Fix #2051
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed May 24, 2018
1 parent 21fb6e6 commit a0ef456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a0ef456

Please sign in to comment.