diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-06-04 21:45:12 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-06-04 21:45:12 +0900 |
| commit | 4f3c526dcdf5fce74dd12be1c882f6c47d1829ec (patch) | |
| tree | 9e67f3032b6de4be1cf915fd86b439eea6521314 /src/util.h | |
| parent | adeead6f0396e2f8551d1182972e277728fd6c8b (diff) | |
Support PREF_DIR change for Metalink files
Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and
now support changing PREF_DIR for Metalink downloads.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -791,6 +791,8 @@ void executeHookByOptName std::string createSafePath(const std::string& dir, const std::string& filename); +std::string createSafePath(const std::string& filename); + std::string encodeNonUtf8(const std::string& s); // Create string safely. If str is NULL, returns empty string. |
