Skip to content

Commit

Permalink
Fix logger reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Sep 18, 2024
1 parent f6dd019 commit 53ddc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ func NewShadowsocksStreamAuthenticator(ciphers CipherList, replayCache *ReplayCa
if metrics == nil {
metrics = &NoOpShadowsocksConnMetrics{}
}
if logger == nil {
logger = &noopLogger{}
if l == nil {
l = &noopLogger{}
}
return func(clientConn transport.StreamConn) (string, transport.StreamConn, *onet.ConnectionError) {
// Find the cipher and acess key id.
Expand Down

0 comments on commit 53ddc31

Please sign in to comment.