aboutsummaryrefslogtreecommitdiff
path: root/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'Sources')
-rw-r--r--Sources/swiftGopherClient/gopherRequestResponseHandler.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/swiftGopherClient/gopherRequestResponseHandler.swift b/Sources/swiftGopherClient/gopherRequestResponseHandler.swift
index 8349c6e..034770d 100644
--- a/Sources/swiftGopherClient/gopherRequestResponseHandler.swift
+++ b/Sources/swiftGopherClient/gopherRequestResponseHandler.swift
@@ -88,7 +88,7 @@ final class GopherRequestResponseHandler: ChannelInboundHandler {
"Carriage Returns: \(carriageReturnCount), Newline + Carriage Returns: \(newlineCarriageReturnCount)"
)
- if carriageReturnCount == 0 {
+ if newlineCarriageReturnCount == 0 {
for line in response.split(separator: "\n") {
let lineItemType = getGopherFileType(item: "\(line.first ?? " ")")
let item = createGopherItem(