diff --git a/tmate-session.c b/tmate-session.c index 37038a16..a05d2044 100644 --- a/tmate-session.c +++ b/tmate-session.c @@ -92,7 +92,7 @@ static void lookup_and_connect(void) hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP; - tmate_server_host = options_get_string(global_s_options, + tmate_server_host = options_get_string(global_options, "tmate-server-host"); tmate_info("Looking up %s...", tmate_server_host); (void)evdns_getaddrinfo(tmate_session.ev_dnsbase, tmate_server_host, NULL,