aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_sftpd.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-11-28 11:48:11 +0100
committerFredrik Gustafsson <[email protected]>2012-11-28 11:48:11 +0100
commit3b697a2e0de3dc02461d811b8714ad91470b9e2c (patch)
treeb8f23ab41954eb8001cb499de20f9c6730a8b856 /lib/ssh/src/ssh_sftpd.erl
parent3051d7a5833eb8cd4903a5fec749549de27a3c8d (diff)
downloadotp-3b697a2e0de3dc02461d811b8714ad91470b9e2c.tar.gz
otp-3b697a2e0de3dc02461d811b8714ad91470b9e2c.tar.bz2
otp-3b697a2e0de3dc02461d811b8714ad91470b9e2c.zip
changed option to sftpd_vsn
Diffstat (limited to 'lib/ssh/src/ssh_sftpd.erl')
-rw-r--r--lib/ssh/src/ssh_sftpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_sftpd.erl b/lib/ssh/src/ssh_sftpd.erl
index 21ba98a3e1..d4d6e4a9a7 100644
--- a/lib/ssh/src/ssh_sftpd.erl
+++ b/lib/ssh/src/ssh_sftpd.erl
@@ -119,7 +119,7 @@ init(Options) ->
{Root0, State0}
end,
MaxLength = proplists:get_value(max_files, Options, 0),
- Vsn = proplists:get_value(sftp_vsn, Options, 5),
+ Vsn = proplists:get_value(sftpd_vsn, Options, 5),
{ok, State#state{cwd = CWD, root = Root, max_files = MaxLength,
handles = [], pending = <<>>,
xf = #ssh_xfer{vsn = Vsn, ext = []}}}.