aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-20 13:22:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-20 23:07:59 +0200
commite59540139a398dc70fde6aec487b19c5085105af (patch)
tree3b9be44e9887ab3f50f374886ec86b3b9edc9a88 /src
parent23803aae7b9e3ef15a0339a2afa9da7c5c2bfac1 (diff)
cleanup: remove DOT_CHAR completely
Follow-up to f9c7ba9096ec 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
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index c9189bdee..87d3ab89c 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -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);