mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Rename SocketPeerInfo to SocketEndpointInfo.
I'm preparing to be able to ask about the other end of the connection too, so the first step is to give this data structure a neutral name that can refer to either. No functional change yet.
This commit is contained in:
4
psocks.c
4
psocks.c
@ -72,7 +72,7 @@ struct psocks_connection {
|
||||
|
||||
static SshChannel *psocks_lportfwd_open(
|
||||
ConnectionLayer *cl, const char *hostname, int port,
|
||||
const char *description, const SocketPeerInfo *pi, Channel *chan);
|
||||
const char *description, const SocketEndpointInfo *pi, Channel *chan);
|
||||
|
||||
static const ConnectionLayerVtable psocks_clvt = {
|
||||
.lportfwd_open = psocks_lportfwd_open,
|
||||
@ -154,7 +154,7 @@ static void psocks_connection_establish(void *vctx);
|
||||
|
||||
static SshChannel *psocks_lportfwd_open(
|
||||
ConnectionLayer *cl, const char *hostname, int port,
|
||||
const char *description, const SocketPeerInfo *pi, Channel *chan)
|
||||
const char *description, const SocketEndpointInfo *pi, Channel *chan)
|
||||
{
|
||||
psocks_state *ps = container_of(cl, psocks_state, cl);
|
||||
psocks_connection *conn = snew(psocks_connection);
|
||||
|
Reference in New Issue
Block a user