summaryrefslogtreecommitdiffstats
path: root/libssh/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 3c20126..70469d8 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -1332,7 +1332,7 @@ int ssh_options_parse_config(ssh_options opt, const char *filename) {
if (expanded_filename == NULL)
return -1;
- r = ssh_config_parse_file(opt, filename);
+ r = ssh_config_parse_file(opt, expanded_filename);
free(expanded_filename);
return r;
}