mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
Fix small bug in ssh_options_parse_config
This commit is contained in:
@@ -1332,7 +1332,7 @@ int ssh_options_parse_config(ssh_options opt, const char *filename) {
|
|||||||
if (expanded_filename == NULL)
|
if (expanded_filename == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
r = ssh_config_parse_file(opt, filename);
|
r = ssh_config_parse_file(opt, expanded_filename);
|
||||||
free(expanded_filename);
|
free(expanded_filename);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user