forked from chteufleur/go-xmpp
Fix typo.
This commit is contained in:
parent
de92cf1a55
commit
30441cacf4
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue