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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Reviewed-by: Nicola Murino <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent 7292932 commit bbc689c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)