diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-02-09 02:25:44 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-02-09 02:27:29 -0500 |
commit | 05d3312f77007622f524175e049509687130805d (patch) | |
tree | c16556c153426804b08771a691571afb23e435e8 /lib | |
parent | 11ee0640ac9beb5404ae53fa2184fb8f09d53813 (diff) |
asyn-thread: remove dead code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asyn-thread.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c index 6a6dce107..68dcbb3ec 100644 --- a/lib/asyn-thread.c +++ b/lib/asyn-thread.c @@ -720,7 +720,6 @@ Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn, int *waitp) { struct addrinfo hints; - char sbuf[12]; int pf = PF_INET; struct Curl_easy *data = conn->data; struct resdata *reslv = (struct resdata *)data->state.resolver; @@ -753,8 +752,6 @@ Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn, hints.ai_socktype = (conn->transport == TRNSPRT_TCP)? SOCK_STREAM : SOCK_DGRAM; - msnprintf(sbuf, sizeof(sbuf), "%d", port); - reslv->start = Curl_now(); /* fire up a new resolver thread! */ if(init_resolve_thread(conn, hostname, port, &hints)) { |