Skip to content

Commit 5730df0

Browse files
committed
Minor cleanup
1 parent ffee1b0 commit 5730df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dispatcher/dispatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func (d *Dispatcher) DispatchIP() (*bufconn.Conn, error) {
227227
goodConn.RLock()
228228
if goodConn.c != nil {
229229
conn = bufconn.NewConn(goodConn.c)
230-
} else if goodConn.n <= 0 {
230+
} else {
231231
err = goodConn.err
232232
}
233233
goodConn.RUnlock()

0 commit comments

Comments
 (0)