Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lesismal committed Nov 15, 2023
1 parent 7e4627d commit 56b0559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbhttp/websocket/dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h

nbc, ok := conn.(*nbio.Conn)
if !ok {
nbhttpConn, ok := conn.(*nbhttp.Conn)
if !ok {
nbhttpConn, ok2 := conn.(*nbhttp.Conn)
if !ok2 {
err = ErrBadHandshake
notifyResult(err)
return
Expand Down

0 comments on commit 56b0559

Please sign in to comment.