WS: only display the "connecting" status on -v
This commit is contained in:
parent
fd4177157e
commit
808393c537
|
@ -962,9 +962,12 @@ backend_ws_establish_connection (struct app_context *ctx,
|
||||||
else
|
else
|
||||||
real_host = buf;
|
real_host = buf;
|
||||||
|
|
||||||
char *address = format_host_port_pair (real_host, port);
|
if (ctx->verbose)
|
||||||
print_status ("connecting to %s...", address);
|
{
|
||||||
free (address);
|
char *address = format_host_port_pair (real_host, port);
|
||||||
|
print_status ("connecting to %s...", address);
|
||||||
|
free (address);
|
||||||
|
}
|
||||||
|
|
||||||
if (!connect (sockfd, gai_iter->ai_addr, gai_iter->ai_addrlen))
|
if (!connect (sockfd, gai_iter->ai_addr, gai_iter->ai_addrlen))
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue