diff --git a/Sources/NIO/Bootstrap.swift b/Sources/NIO/Bootstrap.swift index fbbab8207..0cab07f39 100644 --- a/Sources/NIO/Bootstrap.swift +++ b/Sources/NIO/Bootstrap.swift @@ -210,7 +210,7 @@ public final class ServerBootstrap { protocolFamily: address.protocolFamily) } - return bind0(makeServerChannel: makeChannel) { (eventGroup, serverChannel) in + return bind0(makeServerChannel: makeChannel) { (eventLoop, serverChannel) in serverChannel.registerAndDoSynchronously { serverChannel in serverChannel.bind(to: address) }