Skip to content

Commit bbc689c

Browse files
cuishuanggopherbot
authored andcommitted
ssh: use a more straightforward return value
Change-Id: Ie5ee95efe4924f75719087c6fe8d4867607934bf Reviewed-on: https://go-review.googlesource.com/c/crypto/+/653198 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Nicola Murino <nicola.murino@gmail.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
1 parent 7292932 commit bbc689c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ssh/tcpip.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ func (c *Client) dial(laddr string, lport int, raddr string, rport int) (Channel
459459
return nil, err
460460
}
461461
go DiscardRequests(in)
462-
return ch, err
462+
return ch, nil
463463
}
464464

465465
type tcpChan struct {

0 commit comments

Comments
 (0)