Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lesismal committed Nov 7, 2022
1 parent 55d544e commit b137640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbhttp/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (e *Engine) startListeners() error {
e.listenerMux = lmux.New(e.MaxBlockingOnline)
}

for i, _ := range e.AddrConfigsTLS {
for i := range e.AddrConfigsTLS {
conf := &e.AddrConfigsTLS[i]
if conf.Addr != "" {
network := conf.Network
Expand Down Expand Up @@ -325,7 +325,7 @@ func (e *Engine) startListeners() error {
}
}

for i, _ := range e.AddrConfigs {
for i := range e.AddrConfigs {
conf := &e.AddrConfigs[i]
if conf.Addr != "" {
network := conf.Network
Expand Down

0 comments on commit b137640

Please sign in to comment.