Skip to content

Commit

Permalink
Fixed compile issue on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Oct 30, 2023
1 parent 62a8e2c commit 1d0649f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fineftp-server/src/filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,13 @@ namespace Filesystem
std::string cleanPathNative(const std::string& path)
{
#ifdef WIN32
constexpr bool windows_path = true;
constexpr bool path_is_windows_path = true;
constexpr char separator = '\\';
#else // WIN32
constexpr bool path_is_windows_path = false;
constexpr char separator = '/';
#endif // WIN32
return cleanPath(path, windows_path, separator);
return cleanPath(path, path_is_windows_path, separator);
}

}
Expand Down

0 comments on commit 1d0649f

Please sign in to comment.