Fix typo in the name of a constant (#2262)
Motivation: A constant was named 'envolope' instead of 'envelope'. Modifications: Replaced 'envolope' with 'envelope'. Result: The typo will be fixed.
This commit is contained in:
parent
af95e9d1c6
commit
dd8c5828c7
|
@ -41,9 +41,9 @@ private final class EchoHandler: ChannelInboundHandler {
|
||||||
self.numBytes = buffer.readableBytes
|
self.numBytes = buffer.readableBytes
|
||||||
|
|
||||||
// Forward the data.
|
// Forward the data.
|
||||||
let envolope = AddressedEnvelope<ByteBuffer>(remoteAddress: remoteAddress, data: buffer)
|
let envelope = AddressedEnvelope<ByteBuffer>(remoteAddress: remoteAddress, data: buffer)
|
||||||
|
|
||||||
context.writeAndFlush(self.wrapOutboundOut(envolope), promise: nil)
|
context.writeAndFlush(self.wrapOutboundOut(envelope), promise: nil)
|
||||||
|
|
||||||
} catch {
|
} catch {
|
||||||
print("Could not resolve remote address")
|
print("Could not resolve remote address")
|
||||||
|
|
Loading…
Reference in New Issue