1
0
Fork 0

Fix typo.

This commit is contained in:
Matt Goodall 2012-07-11 23:24:26 +01:00
parent de92cf1a55
commit 30441cacf4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func NewStream(addr string) (*Stream, error) {
return stream, nil return stream, nil
} }
// Upgrade the stream's underlying net conncetion to TLS. // Upgrade the stream's underlying net connection to TLS.
func (stream *Stream) UpgradeTLS(config *tls.Config) error { func (stream *Stream) UpgradeTLS(config *tls.Config) error {
conn := tls.Client(stream.conn, config) conn := tls.Client(stream.conn, config)