mirror of
https://github.com/curl/curl.git
synced 2026-06-09 00:24:16 +03:00
[tool_parsecfg]: fallback to UserProfile on Windows
This commit is contained in:
parent
9eec5a4f04
commit
fdf6b5d4ef
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ int parseconfig(const char *filename)
|
|||
if(param && param[0] == '~') {
|
||||
#ifdef _WIN32
|
||||
const char *home = curl_getenv("UserProfile");
|
||||
#elif
|
||||
#else
|
||||
const char *home = curl_getenv("HOME");
|
||||
#endif
|
||||
if(home) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue