diff options
| author | auth12 <[email protected]> | 2020-08-01 11:15:55 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-08-01 11:15:55 -0700 |
| commit | 5bbda279685f52693d4f5d9cb1500e295e06fc1e (patch) | |
| tree | 87cc4aa993afe879f8b5dffbbe7013dcf8e5dc44 /client/src/util/io.cpp | |
| parent | Added server support for both x64 and x32 images with automatic selection. (diff) | |
| download | loader-5bbda279685f52693d4f5d9cb1500e295e06fc1e.tar.xz loader-5bbda279685f52693d4f5d9cb1500e295e06fc1e.zip | |
Started security.
Diffstat (limited to 'client/src/util/io.cpp')
| -rw-r--r-- | client/src/util/io.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/util/io.cpp b/client/src/util/io.cpp index 7e783c2..47d9dbe 100644 --- a/client/src/util/io.cpp +++ b/client/src/util/io.cpp @@ -1,10 +1,10 @@ #include "../include.h" #include "io.h" -bool io::read_file(const std::string_view name, std::vector<char>& out) { - std::ifstream file(name.data(), std::ios::binary); +bool io::read_file(const std::string_view path, std::vector<char>& out) { + std::ifstream file(path.data(), std::ios::binary); if (!file.good()) { - log_error("{} isnt valid.", name); + log_error("{} isnt valid.", path); return false; } |