Skip to content
Open
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 trantor/net/inner/TcpConnectionImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ void TcpConnectionImpl::sendFile(const char *fileName,
{
assert(fileName);
#ifdef _WIN32
sendFile(utils::toNativePath(fileName).c_str(), offset, length);
sendFile(utils::toWidePath(fileName).c_str(), offset, length);
#else // _WIN32
auto fileNode = BufferNode::newFileBufferNode(fileName, offset, length);

Expand Down
Loading