Commit 03178bb4 authored by Dave Cheney's avatar Dave Cheney Committed by Adam Langley

exp/ssh: fix constant in package documentation

R=agl
CC=golang-dev
https://golang.org/cl/5030054
parent d072a708
...@@ -58,7 +58,7 @@ the case of a shell, the type is "session" and ServerShell may be used to ...@@ -58,7 +58,7 @@ the case of a shell, the type is "session" and ServerShell may be used to
present a simple terminal interface. present a simple terminal interface.
if channel.ChannelType() != "session" { if channel.ChannelType() != "session" {
c.Reject(RejectUnknownChannelType, "unknown channel type") c.Reject(UnknownChannelType, "unknown channel type")
return return
} }
channel.Accept() channel.Accept()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment