1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:20:22 -07:00

exp/ssh: fix misleading spelling mistake in comment

R=dave, agl, rsc, golang-dev
CC=golang-dev
https://golang.org/cl/5431089
This commit is contained in:
Gustav Paul 2011-11-28 10:45:52 -05:00 committed by Adam Langley
parent a620865639
commit 23227f3d63

View File

@ -384,7 +384,7 @@ func (c *chanlist) remove(id uint32) {
// A chanWriter represents the stdin of a remote process. // A chanWriter represents the stdin of a remote process.
type chanWriter struct { type chanWriter struct {
win chan int // receives window adjustments win chan int // receives window adjustments
peersId uint32 // the peers id peersId uint32 // the peer's id
rwin int // current rwin size rwin int // current rwin size
packetWriter // for sending channelDataMsg packetWriter // for sending channelDataMsg
} }
@ -422,7 +422,7 @@ type chanReader struct {
// If writes to this channel block, they will block mainLoop, making // If writes to this channel block, they will block mainLoop, making
// it unable to receive new messages from the remote side. // it unable to receive new messages from the remote side.
data chan []byte // receives data from remote data chan []byte // receives data from remote
peersId uint32 // the peers id peersId uint32 // the peer's id
packetWriter // for sending windowAdjustMsg packetWriter // for sending windowAdjustMsg
buf []byte buf []byte
} }