You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2014/09/10 12:46:28 UTC
git commit: [SSHD-347] Sftplet.onConnect(...) does not obtain access
to ServerSession
Repository: mina-sshd
Updated Branches:
refs/heads/master da8bbf6b2 -> 8fb0e52c5
[SSHD-347] Sftplet.onConnect(...) does not obtain access to ServerSession
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/8fb0e52c
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/8fb0e52c
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/8fb0e52c
Branch: refs/heads/master
Commit: 8fb0e52c599a11d0f16265b5979dafc712f0c481
Parents: da8bbf6
Author: Guillaume Nodet <gn...@apache.org>
Authored: Wed Sep 10 12:46:18 2014 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Wed Sep 10 12:46:18 2014 +0200
----------------------------------------------------------------------
.../main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/8fb0e52c/sshd-sftp/src/main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java
----------------------------------------------------------------------
diff --git a/sshd-sftp/src/main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java b/sshd-sftp/src/main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java
index 3e9c8bc..31e3f74 100644
--- a/sshd-sftp/src/main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java
+++ b/sshd-sftp/src/main/java/org/apache/sshd/sftp/subsystem/SftpSubsystem.java
@@ -136,8 +136,8 @@ public class SftpSubsystem implements Command, SessionAware, FileSystemAware, Sf
}
public void setSession(ServerSession session) {
- sftpLet.onConnect(this);
this.session = session;
+ sftpLet.onConnect(this);
}
public void setFileSystemView(FileSystemView view) {