Skip to content

Commit bb968f5

Browse files
committed
Minor doc corrections.
1 parent 1d6177f commit bb968f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Renci.SshNet/Channels/ChannelDirectTcpip.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ public void Bind()
9393
// even though the client has disconnected, we still want to properly close the
9494
// channel
9595
//
96-
// we'll do this in in Close(bool) that way we have a single place from which we
97-
// send an SSH_MSG_CHANNEL_EOF message and wait for the SSH_MSG_CHANNEL_CLOSE
98-
// message
96+
// we'll do this in in Close() - invoked through Dispose(bool) - that way we have
97+
// a single place from which we send an SSH_MSG_CHANNEL_EOF message and wait for
98+
// the SSH_MSG_CHANNEL_CLOSE message
9999
}
100100

101101
/// <summary>
@@ -246,7 +246,6 @@ protected override void OnDisconnected()
246246
// to accept any more data from the client (and we surely won't send anything
247247
// anymore)
248248
//
249-
//
250249
// so lets signal to the client that we will not send or receive anything anymore
251250
// this will also interrupt the blocking receive in Bind()
252251
ShutdownSocket(SocketShutdown.Both);

0 commit comments

Comments
 (0)