]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Factor out ssh_hostport_setup().
authorSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 09:58:29 +0000 (10:58 +0100)
committerSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 11:07:14 +0000 (12:07 +0100)
commite0252a4a609a67db82515e674067d346606c7397
tree2ec6c90586b7965189eee4c49a1919824535227d
parent5a9711a1e55786fe3f63e3be413e85844df0b794
Factor out ssh_hostport_setup().

This is the part of ssh.c's connect_to_host() which figures out the
host name and port number that logically identify the connection -
i.e. not necessarily where we physically connected to, but what we'll
use to look up the saved session cache, put in the window title bar,
and give to the connection sharing code to identify other connections
to share with.

I'm about to want to use it for another purpose, so it needs to be
moved out into a separate function.
ssh.c