summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2011-09-19 10:32:11 -0400
committerAdam Langley <agl@golang.org>2011-09-19 10:32:11 -0400
commit03178bb4ad968391c1d5f1d16affac101cd1235c (patch)
tree3b03f4c6a044b32cba51780c8527ff98f02921a4
parentd072a7082390760c1c00f25b8340deef8d9c408b (diff)
downloadgo-git-03178bb4ad968391c1d5f1d16affac101cd1235c.tar.gz
exp/ssh: fix constant in package documentation
R=agl CC=golang-dev https://golang.org/cl/5030054
-rw-r--r--src/pkg/exp/ssh/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/ssh/doc.go b/src/pkg/exp/ssh/doc.go
index 8dbdb0777c..54a7ba9fda 100644
--- a/src/pkg/exp/ssh/doc.go
+++ b/src/pkg/exp/ssh/doc.go
@@ -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()