mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #3581: various SFTP fixes.
(sftpfs_cb_open_connection): initialise sftpfs_super_data_t::socket_handle correctrly. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
9dcf03342a
commit
0376fb50e0
@ -104,6 +104,7 @@ sftpfs_cb_open_connection (struct vfs_s_super *super,
|
||||
}
|
||||
|
||||
sftpfs_super_data = g_new0 (sftpfs_super_data_t, 1);
|
||||
sftpfs_super_data->socket_handle = -1;
|
||||
sftpfs_super_data->original_connection_info = vfs_path_element_clone (vpath_element);
|
||||
super->data = sftpfs_super_data;
|
||||
super->path_element = vfs_path_element_clone (vpath_element);
|
||||
|
Loading…
Reference in New Issue
Block a user