diff options
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
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); |