1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

session: Use a struct for all options.

This commit is contained in:
Andreas Schneider
2012-02-05 11:50:49 +01:00
parent 840f75f10c
commit ee774479de
16 changed files with 235 additions and 226 deletions

View File

@@ -644,7 +644,7 @@ int ssh_try_publickey_from_file(ssh_session session,
return -1;
}
if (session->sshdir == NULL) {
if (session->opts.sshdir == NULL) {
if (ssh_options_apply(session) < 0) {
return -1;
}