From dd8c5828c751ff4783ed00bd6aa2804d7c961603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helder=20S=C3=A9rvio?= <41337686+heldersrvio@users.noreply.github.com> Date: Sun, 4 Sep 2022 14:23:54 -0300 Subject: [PATCH] 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. --- Sources/NIOUDPEchoClient/main.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/NIOUDPEchoClient/main.swift b/Sources/NIOUDPEchoClient/main.swift index 28f2eb91..795efb23 100644 --- a/Sources/NIOUDPEchoClient/main.swift +++ b/Sources/NIOUDPEchoClient/main.swift @@ -41,9 +41,9 @@ private final class EchoHandler: ChannelInboundHandler { self.numBytes = buffer.readableBytes // Forward the data. - let envolope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer) + let envelope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer) - context.writeAndFlush(self.wrapOutboundOut(envolope), promise: nil) + context.writeAndFlush(self.wrapOutboundOut(envelope), promise: nil) } catch { print("Could not resolve remote address")