exp/ssh: fix constant in package documentation

R=agl
CC=golang-dev
https://golang.org/cl/5030054
This commit is contained in:
Dave Cheney 2011-09-19 10:32:11 -04:00 committed by Adam Langley
parent d072a70823
commit 03178bb4ad
1 changed files with 1 additions and 1 deletions

View 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()