aboutsummaryrefslogtreecommitdiff
path: root/Sources/gopherHandler.swift
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-09 20:49:26 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-09 20:49:26 -0700
commit2fab25898415483b49aeadff333dd4e2804288ff (patch)
treea829107dc23e01d84240a566c68504862a1ec6bc /Sources/gopherHandler.swift
parent6e7efbe9092b9d5b6618a5174166ea96f9989d78 (diff)
fix \t\t
Diffstat (limited to 'Sources/gopherHandler.swift')
-rw-r--r--Sources/gopherHandler.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Sources/gopherHandler.swift b/Sources/gopherHandler.swift
index fb2c4c7..00a3a30 100644
--- a/Sources/gopherHandler.swift
+++ b/Sources/gopherHandler.swift
@@ -79,7 +79,7 @@ final class GopherHandler: ChannelInboundHandler {
return .string(fileContents)
} catch {
logger.error("Error reading file: \(path.path) Error: \(error)")
- return .string("3Error reading file...\terror.host\t1\r\n")
+ return .string("3Error reading file...\t\terror.host\t1\r\n")
}
} else {
// Handle binary file
@@ -88,14 +88,14 @@ final class GopherHandler: ChannelInboundHandler {
return .data(fileContents)
} catch {
logger.error("Error reading binary file: \(path.path) Error: \(error)")
- return .string("3Error reading file...\terror.host\t1\r\n")
+ return .string("3Error reading file...\t\terror.host\t1\r\n")
}
}
}
} else {
logger.error("Error reading directory: \(path.path) Directory does not exist.")
- return .string("3Error reading file...\terror.host\t1\r\n")
+ return .string("3Error reading file...\t\terror.host\t1\r\n")
}
}