Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/SwiftNetwork/Endpoint/AddressEndpoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public struct AddressEndpoint: EndpointProtocol, EndpointCommonProtocol {
#else
let max = 104 // This is sun_path[104]
#endif
if max < path.count {
if max < path.utf8.count {
Logger.endpoint.fault("Path \(path) is too large for a unix domain address")
return nil
}
Expand Down
Loading