diff options
Diffstat (limited to 'libs/sftp/src')
| -rw-r--r-- | libs/sftp/src/main/java/org/the_jk/cleversync/io/sftp/SftpConnection.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sftp/src/main/java/org/the_jk/cleversync/io/sftp/SftpConnection.kt b/libs/sftp/src/main/java/org/the_jk/cleversync/io/sftp/SftpConnection.kt index 9f05138..5809186 100644 --- a/libs/sftp/src/main/java/org/the_jk/cleversync/io/sftp/SftpConnection.kt +++ b/libs/sftp/src/main/java/org/the_jk/cleversync/io/sftp/SftpConnection.kt @@ -14,7 +14,7 @@ internal class SftpConnection(uri: Uri, credentials: SftpCredentials) { val error: String get() = if (destroyed) "[destroyed]" else { - var err = sftpSession?.lastError() + val err = sftpSession?.lastError() if (err.isNullOrEmpty()) sshSession.lastError() else err } |
