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 ad4e85dd8..320b852e0 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1696,7 +1696,7 @@ static CURLcode single_transfer(struct GlobalConfig *global, char *home; char *file; result = CURLE_FAILED_INIT; - home = homedir(); + home = homedir(NULL); if(home) { file = aprintf("%s/.ssh/known_hosts", home); if(file) { |