]> Cypherpunks repositories - gostls13.git/commitdiff
exp/ssh: fix misleading spelling mistake in comment
authorGustav Paul <gustav.paul@gmail.com>
Mon, 28 Nov 2011 15:45:52 +0000 (10:45 -0500)
committerAdam Langley <agl@golang.org>
Mon, 28 Nov 2011 15:45:52 +0000 (10:45 -0500)
R=dave, agl, rsc, golang-dev
CC=golang-dev
https://golang.org/cl/5431089

src/pkg/exp/ssh/client.go

index 5e7b846b4079f39b0fb1eef98c81b0e24edf4fbf..39aee80420748b933552201d16df1b88c46ad930 100644 (file)
@@ -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
 }