1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -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:
Simon Tatham
2024-06-26 06:35:40 +01:00
parent 431838747b
commit f454c84a23
25 changed files with 61 additions and 61 deletions

View File

@ -1,14 +1,14 @@
/*
* Free a SocketPeerInfo, and everything that dangles off it.
* Free a SocketEndpointInfo, and everything that dangles off it.
*/
#include "putty.h"
void sk_free_peer_info(SocketPeerInfo *pi)
void sk_free_endpoint_info(SocketEndpointInfo *ei)
{
if (pi) {
sfree((char *)pi->addr_text);
sfree((char *)pi->log_text);
sfree(pi);
if (ei) {
sfree((char *)ei->addr_text);
sfree((char *)ei->log_text);
sfree(ei);
}
}