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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user