Skip to content

Commit

Permalink
Chore: fix gofumpt lint (v2fly#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinoKaede authored Apr 6, 2022
1 parent 64a780b commit 2332513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/scenarios/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/v2fly/v2ray-core/v5/common/net"
"github.com/v2fly/v2ray-core/v5/common/retry"
"github.com/v2fly/v2ray-core/v5/common/serial"
"github.com/v2fly/v2ray-core/v5/common/units"
"github.com/v2fly/v2ray-core/v5/common/units"
)

func xor(b []byte) []byte {
Expand Down
4 changes: 2 additions & 2 deletions transport/internet/quic/dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ func (s *clientConnections) openConnection(destAddr net.Addr, config *Config, tl
}

conns = removeInactiveConnections(conns)
newError("dialing QUIC to ", dest).WriteToLog()

newError("dialing QUIC to ", dest).WriteToLog()

rawConn, err := internet.ListenSystemPacket(context.Background(), &net.UDPAddr{
IP: []byte{0, 0, 0, 0},
Expand Down

0 comments on commit 2332513

Please sign in to comment.