diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-05-31 09:17:54 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-05-31 09:17:54 +0200 |
commit | 560e93803804224c137d8dee6eae99ab2296734a (patch) | |
tree | daa9044a35ff95fda19d2c6d84925bde1cac24a1 /libssh/options.c | |
parent | 2a5d71971c9108d7b8e866c9f2364d4613bc22cb (diff) | |
download | libssh-560e93803804224c137d8dee6eae99ab2296734a.tar.gz libssh-560e93803804224c137d8dee6eae99ab2296734a.tar.xz libssh-560e93803804224c137d8dee6eae99ab2296734a.zip |
misc: Move size check down in ssh_path_expand_escape().
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c index 4fdd5dc..f87af58 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -425,7 +425,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type, if (value == NULL) { SAFE_FREE(session->sshdir); - session->sshdir = ssh_path_expand_tilde("~/.ssh/"); + session->sshdir = ssh_path_expand_tilde("~/.ssh"); if (session->sshdir == NULL) { return -1; } |