mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 22:55:10 +00:00
SftpPlugin: fix SAF implementation for gvfs/ssh
Returning NULL from readSymbolicLink() results in an exception that closes the SFTP connection for some SSH implementations, notably the one used by Gvfs (GSConnect). primitive-ftpd had a similar issue, which was fixed by returning and empty string instead of NULL.
This commit is contained in:
@@ -88,7 +88,7 @@ class RootFile implements SshFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String readSymbolicLink() {
|
public String readSymbolicLink() {
|
||||||
return null;
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void createSymbolicLink(SshFile destination) {
|
public void createSymbolicLink(SshFile destination) {
|
||||||
|
Reference in New Issue
Block a user