]> Cypherpunks repositories - gostls13.git/commitdiff
exp/ssh: fix constant in package documentation
authorDave Cheney <dave@cheney.net>
Mon, 19 Sep 2011 14:32:11 +0000 (10:32 -0400)
committerAdam Langley <agl@golang.org>
Mon, 19 Sep 2011 14:32:11 +0000 (10:32 -0400)
R=agl
CC=golang-dev
https://golang.org/cl/5030054

src/pkg/exp/ssh/doc.go

index 8dbdb0777c4186a672da376f3a5754ccda2fc115..54a7ba9fdae3d7f97470fce250e5060fd39327bc 100644 (file)
@@ -58,7 +58,7 @@ the case of a shell, the type is "session" and ServerShell may be used to
 present a simple terminal interface.
 
        if channel.ChannelType() != "session" {
-               c.Reject(RejectUnknownChannelType, "unknown channel type")
+               c.Reject(UnknownChannelType, "unknown channel type")
                return
        }
        channel.Accept()