mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:03:31 +03:00
cleanup: remove DOT_CHAR completely
Follow-up to f9c7ba9096
The use of DOT_CHAR for ".ssh" was probably a mistake and is removed
now.
Pointed-out-by: Gisle Vanem
Bug: https://github.com/curl/curl/pull/4230#issuecomment-522960638
Closes #4247
This commit is contained in:
parent
23803aae7b
commit
e59540139a
3 changed files with 2 additions and 12 deletions
|
|
@ -1487,7 +1487,7 @@ static CURLcode create_transfers(struct GlobalConfig *global,
|
|||
result = CURLE_OUT_OF_MEMORY;
|
||||
home = homedir();
|
||||
if(home) {
|
||||
file = aprintf("%s/%sssh/known_hosts", home, DOT_CHAR);
|
||||
file = aprintf("%s/.ssh/known_hosts", home);
|
||||
if(file) {
|
||||
/* new in curl 7.19.6 */
|
||||
result = res_setopt_str(curl, CURLOPT_SSH_KNOWNHOSTS, file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue