X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=x11fwd.c;h=bdfc4e743570f9173cf86d82040b593d41fc6e7e;hb=29d805a49eab70cd6144a343605874985db072c2;hp=6cfec72824304b8e853802b599c12ed932802a91;hpb=b8dd15b8ffd6a9ebdbeceb9db3a3507492780e88;p=PuTTY.git diff --git a/x11fwd.c b/x11fwd.c index 6cfec728..bdfc4e74 100644 --- a/x11fwd.c +++ b/x11fwd.c @@ -286,7 +286,8 @@ struct X11Display *x11_setup_display(const char *display, Conf *conf) disp->port = 6000 + disp->displaynum; disp->addr = name_lookup(disp->hostname, disp->port, - &disp->realhost, conf, ADDRTYPE_UNSPEC); + &disp->realhost, conf, ADDRTYPE_UNSPEC, + NULL, NULL); if ((err = sk_addr_error(disp->addr)) != NULL) { sk_addr_free(disp->addr);