aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustav Paul <gustav.paul@gmail.com>2011-11-28 10:45:52 -0500
committerAdam Langley <agl@golang.org>2011-11-28 10:45:52 -0500
commit23227f3d63227a9b63ece4bbc825be21288624af (patch)
tree731a898106d8e8fe7e4c147693ece076d853f39a
parenta620865639d4e8c159c563c05b6cd7b50596273c (diff)
downloadgo-23227f3d63227a9b63ece4bbc825be21288624af.tar.gz
go-23227f3d63227a9b63ece4bbc825be21288624af.zip
exp/ssh: fix misleading spelling mistake in comment
R=dave, agl, rsc, golang-dev CC=golang-dev https://golang.org/cl/5431089
-rw-r--r--src/pkg/exp/ssh/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/exp/ssh/client.go b/src/pkg/exp/ssh/client.go
index 5e7b846b40..39aee80420 100644
--- a/src/pkg/exp/ssh/client.go
+++ b/src/pkg/exp/ssh/client.go
@@ -384,7 +384,7 @@ func (c *chanlist) remove(id uint32) {
// A chanWriter represents the stdin of a remote process.
type chanWriter struct {
win chan int // receives window adjustments
- peersId uint32 // the peers id
+ peersId uint32 // the peer's id
rwin int // current rwin size
packetWriter // for sending channelDataMsg
}
@@ -422,7 +422,7 @@ type chanReader struct {
// If writes to this channel block, they will block mainLoop, making
// it unable to receive new messages from the remote side.
data chan []byte // receives data from remote
- peersId uint32 // the peers id
+ peersId uint32 // the peer's id
packetWriter // for sending windowAdjustMsg
buf []byte
}