Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Oct 26, 2018
1 parent bcca92a commit f0389cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/mux/mux_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ func (s *MuxClient) getParentConn() (conn net.Conn, err error) {
conn = net.Conn(&_conn)
}
} else {
conf, err := utils.TlsConfig(s.cfg.CertBytes, s.cfg.KeyBytes, nil)
if err != nil {
return nil, err
conf, e := utils.TlsConfig(s.cfg.CertBytes, s.cfg.KeyBytes, nil)
if e != nil {
return nil, e
}
var _c net.Conn
_c, err = s.jumper.Dial(*s.cfg.Parent, time.Millisecond*time.Duration(*s.cfg.Timeout))
Expand Down

0 comments on commit f0389cd

Please sign in to comment.