mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -05:00
Server prep: reword messages to be client/server agnostic.
Lots of user-facing messages that claim that the 'server' just did something or other unexpected will now need to be issued _by_ the server, when the client does the same unexpected thing. So I've reworded them all to talk about the 'remote side' instead of the 'server', and the SSH-2 key setup messages talk about initialising inbound and outbound crypto primitives rather than client->server and server->client.
This commit is contained in:
@ -133,9 +133,9 @@ static void ssh2_bare_bpp_handle_input(BinaryPacketProtocol *bpp)
|
||||
eof:
|
||||
if (!s->bpp.expect_close) {
|
||||
ssh_remote_error(s->bpp.ssh,
|
||||
"Server unexpectedly closed network connection");
|
||||
"Remote side unexpectedly closed network connection");
|
||||
} else {
|
||||
ssh_remote_eof(s->bpp.ssh, "Server closed network connection");
|
||||
ssh_remote_eof(s->bpp.ssh, "Remote side closed network connection");
|
||||
}
|
||||
return; /* avoid touching s now it's been freed */
|
||||
|
||||
|
Reference in New Issue
Block a user