1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 10:07:39 -05:00

Update source file names in comments and docs.

Correcting a source file name in the docs just now reminded me that
I've seen a lot of outdated source file names elsewhere in the code,
due to all the reorganisation since we moved to cmake. Here's a giant
pass of trying to make them all accurate again.
This commit is contained in:
Simon Tatham
2022-01-22 15:38:53 +00:00
parent 81391e3f23
commit 5935c68288
68 changed files with 196 additions and 196 deletions

View File

@ -1177,7 +1177,7 @@ void share_got_pkt_from_server(ssh_sharing_connstate *cs, int type,
case SSH2_MSG_REQUEST_SUCCESS:
case SSH2_MSG_REQUEST_FAILURE:
globreq = cs->globreq_head;
assert(globreq); /* should match the queue in ssh.c */
assert(globreq); /* should match the queue in connection2.c */
if (globreq->type == GLOBREQ_TCPIP_FORWARD) {
if (type == SSH2_MSG_REQUEST_FAILURE) {
share_remove_forwarding(cs, globreq->fwd);
@ -1289,7 +1289,8 @@ void share_got_pkt_from_server(ssh_sharing_connstate *cs, int type,
break;
default:
unreachable("This packet type should never have come from ssh.c");
unreachable("This packet type should never have come from "
"connection2.c");
}
}
@ -1356,12 +1357,12 @@ static void share_got_pkt_from_downstream(struct ssh_sharing_connstate *cs,
host = mkstr(hostpl);
/*
* See if we can allocate space in ssh.c's tree of remote
* port forwardings. If we can't, it's because another
* client sharing this connection has already allocated
* the identical port forwarding, so we take it on
* ourselves to manufacture a failure packet and send it
* back to downstream.
* See if we can allocate space in the connection layer's
* tree of remote port forwardings. If we can't, it's
* because another client sharing this connection has
* already allocated the identical port forwarding, so we
* take it on ourselves to manufacture a failure packet
* and send it back to downstream.
*/
rpf = ssh_rportfwd_alloc(
cs->parent->cl, host, port, NULL, 0, 0, NULL, NULL, cs);
@ -1430,8 +1431,8 @@ static void share_got_pkt_from_downstream(struct ssh_sharing_connstate *cs,
}
} else {
/*
* Tell ssh.c to stop sending us channel-opens for
* this forwarding.
* Tell the connection layer to stop sending us
* channel-opens for this forwarding.
*/
ssh_rportfwd_remove(cs->parent->cl, fwd->rpf);
@ -1872,8 +1873,8 @@ void share_activate(ssh_sharing_state *sharestate,
const char *server_verstring)
{
/*
* Indication from ssh.c that we are now ready to begin serving
* any downstreams that have already connected to us.
* Indication from connection layer that we are now ready to begin
* serving any downstreams that have already connected to us.
*/
struct ssh_sharing_connstate *cs;
int i;